I\'ve recently encountered something I\'ve never seen before while using selenium
.
The code (quite simple and straightforward):
from seleniu
Looks like by the time the page loads it is executing this line of code and throwing an error message. try to wait till the page loads by using
time.sleep(200)
and keep this line of code under try block as:
try:
WebDriverWait(driver, 10).until(EC.presence_of_element_located((By.CSS_SELECTOR, "table.data-list")))
except:
print("not found")