Answer the question
In order to leave comments, you need to log in
How to deal with data loading pause (selenium parsing)?
Good afternoon!
It is necessary to fully expand this page, but I am faced with the fact that the data on the site is loaded with some delay, so it does not find the required class. What to do in such a situation?
from selenium import webdriver
driver = webdriver.Chrome('D:\chromedriver.exe')
driver.get('https://gosuslugi.primorsky.ru/registry/taxi.htm')
css = "load-more btn btn-primary"
driver.find_elements_by_css_selector(css).click()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question