Implicitly wait timeout
Implicit waits were not originally part of the WebDriver API; they are actually a hangover from the old Selenium 1 API. They were not going to be put into the WebDriver API, because they encourage people to write tests without thinking, something like this:
Why is my test failing when the element should be there? Oh, let's just slap in an arbitrary wait; if it goes green, it must be fine.
The only reason it made it into the WebDriver API was the massive outcry from the community who had got used to the Selenium 1 API and wanted it back.
This is probably the timeout that causes the most confusion, even though, on the face of it, it seems very simple. What it does is add a grace period when trying to find an element. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access