Selenium Webdriver - Wait for an element to load

added by deanomachino
10/28/2011 9:07:33 AM

282 Views

I am currently working on a project that uses a lot of AJAX and delayed loading of HTML elements. This means that when a page loads, the object that I am looking for might not necessarily have appeared yet. In many instances the element may only be added to the DOM after an amount of time by the use of some JavaScript.


1 comments

dpeterson
10/28/2011 9:09:45 AM
Good information, have you ever tried the WatiN (http://watin.org/) project? It has support for testing Ajax driven sites as well.