Selenium-IDE: How to verify/assert page refresh

后端 未结 4 1881
说谎
说谎 2021-01-15 10:00

I have a link on a page, which refreshes this page when clicked.

How can I verify with Selenium-IDE that the page has really been refreshed/reloaded?

4条回答
  •  清歌不尽
    2021-01-15 10:30

    Simple way is to wait until last element on page.

    In Selenium-IDE you may use a lot of wait*-commands to do this, for example:

    waitForElementPresent [element_xPath]

    waitForVisible [element_xPath]

    and so on.

提交回复
热议问题