from selenium import webdriver
from bs4 import BeautifulSoup
driver = webdriver.Chrome('./chromedriver')
driver.implicitly_wait(5)
driver.get('http://car.bitauto.com/')
elem = driver.find_elements_by_class_name('yccmp-brand-item ')
print(len(elem))
# returns nothing
driver.quit()
I tried web-scraping data from the Chinese website. For some reason, with the right class name, it returns nothing. I slightly remember it has something to do with dynamic something but not sure how to fix this. Any tips would be appreciated!