Getting Timed out waiting for page to load on a click event even though there is no page load event

26 views
Skip to first unread message

RAHUL SHARMA

unread,
Sep 30, 2016, 4:08:47 AM9/30/16
to Selenium Users
Click event just opens IE Save prompt as mentioned below and I am handling that popup using Robot. But after saving the file, there is 'Timed out waiting for page to load on a click event' exception that occurs. Even though there is no page getting loaded. Script is not able to move further. I am just using 

driverInstance.findElement(By.id("idOfButton")).click();


Nikhil Srivastava

unread,
Sep 30, 2016, 12:15:47 PM9/30/16
to seleniu...@googlegroups.com
Hi Rahul,

When you are handling IE Save prompt, your control(driver) moved to window popup, you need to switch it back on web for continuing the execution.

For resolving this, you can try something like refreshing the page using your robot script (Press F5) after saving completion.

Hope this helps.

Cheers,
Nikhil

On Fri, Sep 30, 2016 at 1:13 PM, RAHUL SHARMA <rmsrahu...@gmail.com> wrote:
Click event just opens IE Save prompt as mentioned below and I am handling that popup using Robot. But after saving the file, there is 'Timed out waiting for page to load on a click event' exception that occurs. Even though there is no page getting loaded. Script is not able to move further. I am just using 

driverInstance.findElement(By.id("idOfButton")).click();


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/121b251a-10e0-4323-8e80-924b884ac13f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages