Traceback (most recent call last):
File "D:/Ok/Selenium.py", line 59, in
test_01()
File "D:/Ok/Selenium.py", line 45, in test_01
pp = driver.find_element_by_css_selector('.js-show-more .link-show-more')
File "D:\Ok\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 598, in find_element_by_css_selector return self.find_element(by=By.CSS_SELECTOR, value=css_selector)
pod = driver.find_element_by_class_name('loader-controls loader-controls-bottom')
pod.click()
Выдаёт ошибку
Traceback (most recent call last):
File "D:/Ok/Selenium.py", line 59, in
test_01()
File "D:/Ok/Selenium.py", line 45, in test_01
pod = driver.find_element_by_class_name('loader-controls loader-controls-bottom')
File "D:\Ok\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 564, in find_element_by_class_name
return self.find_element(by=By.CLASS_NAME, value=name)