Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wait until the page is loaded

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.

like image 933
Cauchy Schwarz Avatar asked Mar 12 '23 15:03

Cauchy Schwarz


1 Answers

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.

like image 169
jim Avatar answered Mar 24 '23 00:03

jim