wait until the page is loaded

Cauchy Schwarz picture Cauchy Schwarz · Apr 12, 2016 · Viewed 17.6k times · Source

In Robot Framework, does any keyword in any library implement this? Open Browser and Go To just go to the requested URL but don't wait until the page document is fully loaded.

Answer

jim picture jim · Apr 12, 2016

Have a look at this discussion. You don't really need to wait for anything apart from Ajax. In case you are using Angular, have a look at extendedselenium2library that implements waiting for Angular actions with every keyword.

If you are not using Angular, but you know which Ajax action you expect will fire before you can proceed with your test, have a Wait Until Page Contains Element or Wait Until Element Is Visible keyword with a selector for an element that is specific for your ajax request.