0

I try to use webdriver with chrome but I always have a problem with this error "TimeoutException". I try to use WebDriverWait(driver, 3).until(lambda x: x.find_element_by_id. I replace 3 with 5 or 10 just for having more times but I'm always blocked. I join a screen of the error:

enter image description here

I need help. Thanks.

1 Answer 1

1
WebDriverWait(driver, 3).until(lambda x: x.find_element_by_xpath

=> xpath type was mentioned. But it is other type (id) from your screenshot.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for you answer. I was wrong, I wanted to write WebDriverWait(driver, 5).until(lambda x: x.find_element_by_id('lnk_-831246410')).click() as the picture shows
Do you have idea on how to fix this problem?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.