Posts by Rodrigo Zavan • 3 points
1 post
-
-2
votes2
answers100
viewsQ: How do I restart the page if Selenium does not find the element on the page?
from selenium import webdriver from selenium.webdriver import Firefox import time url = 'https://google.com' driver = webdriver.Firefox() driver.get(url) time.sleep(10)…