Browsing articles tagged with "Selenium - Open Source Technology | Business Algorithms, LLC"

Timing races in Selenium 2: implicit waits vs explicit waits

Jan 14, 2012   //   by Daniel Kranowski   //   Algorithms  //  11 comments

The most common debugging experience in automated Selenium testing is the ubiquitous timing race, where your code is rushing to access a WebElement that hasn’t been fully loaded into the driver yet. If you’re stepping through the test one line at a time it will work just fine, but when you let it run in batch mode at its own speed, then it crashes with a complaint like NoSuchElementException. When you’ve got a suite of a hundred or more Selenium testcases you definitely don’t want to step through them one line at a time, it needs to be automated.

The timing race stems from the fact that Read more >>