How do you get selenium to recognize that a page loaded?

后端 未结 9 1602
误落风尘
误落风尘 2020-12-16 19:40

In certain unknown situations selenium does not detect that a page has loaded when using the open method. I am using the Java API. For example (This code will not produce th

9条回答
  •  半阙折子戏
    2020-12-16 19:46

    When I do Selenium testing, I wait to see if a certain element is visible (waitForVisible), then I do my action. I usually try to use an element after the one I'm typing in.

提交回复
热议问题