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

后端 未结 9 1603
误落风尘
误落风尘 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:58

    Enabling the 'multiWindow' feature solved the issue, though I am not clear why.

    SeleniumServer(int port, boolean slowResources, boolean multiWindow)

    SeleniumServer server = new SeleniumServer(4444, false, true);
    

    Any clarification would be helpful.

提交回复
热议问题