How I can check whether a page is loaded completely or not in web driver?

前端 未结 9 1848
走了就别回头了
走了就别回头了 2020-12-01 01:33

I am writing some Java Webdriver code to automate my application. How can I correctly check whether the page has been loaded or not? The application has some Ajax calls, too

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 02:11

    You can take a screenshot and save the rendered page in a location and you can check the screenshot if the page loaded completely without broken images

提交回复
热议问题