Is there a way to interact with a page before it is "fully loaded"?

20 views
Skip to first unread message

kevinjl...@gmail.com

unread,
Mar 23, 2015, 2:07:42 PM3/23/15
to webd...@googlegroups.com
Hi, I just recently moved from an old version of Selenium RC to Selenium Webdriver.  In the version of Selenium RC that I used, if you ran commands without the "AndWait" suffix that would bring you to new pages, the following command would run immediately.  This behavior is something I rely on for what I use Selenium for.  In upgrading to Webdriver,  I am finding that this behavior is not the same as in Selenium RC.  Commands seem to wait until Webdriver deems the page fully loaded, and then they run.  Is there any way I can run commands before the page fully loads like I could in RC?  Also, what does Webdriver deem as fully loaded?  When the DOM is interactive or complete?

Thanks for your time!

kevinjl...@gmail.com

unread,
Mar 23, 2015, 3:00:21 PM3/23/15
to webd...@googlegroups.com
After originally posting this, it became evident that more information would be required for a proper answer to be given.  I am working with Firefox, and I'm using the C# library.  

I noticed that there is a "page loading strategy" property that allows you to specify when a page is considered loaded.  However, this feature doesn't appear to be fully implemented in the C# version of the code.  The java implementation has it, but that doesn't help me.
Reply all
Reply to author
Forward
0 new messages