Answer the question
In order to leave comments, you need to log in
How to make ignore in selenium?
I have a cycle
error = driver.find_element_by_id("error-title").is_selected()
print(error)
time.sleep(5)
while error == False:
print("Йобанный полигон за 2 рубля")
time.sleep(2)
driver.refresh()
time.sleep(5)
driver.find_element_by_xpath("//div[@id='welcome']/div/span").click()
time.sleep(30)
error = driver.find_element_by_id("error-title").is_selected()
Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="error-title"]"}
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