O'Reilly logo

Mastering Selenium WebDriver by Mark Collin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

So, what do we do?

Let's face it. Figuring out whether something is ready for you to interact with is actually quite a complex process. What would you do if you were testing the site manually?

That's simple. If you were manually testing the site, you would wait for it to be ready before you started testing. The problem is, what does the term ready mean?

Well, to me, it means that the page has downloaded and the site has had a chance to render everything that looks like it needs to be rendered and it looks ready to use. Sometimes, I may start using it before it has downloaded all of the images, but I'll usually wait for the main scaffolding to be in a state that looks ready. Unless I'm looking at the network traffic, I won't know whether the AJAX ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required