Webdriver can login in Chrome, not in firefox: 'Unable to find owning document' error

后端 未结 2 2001
傲寒
傲寒 2020-12-12 01:29

I have 2 classes belonging to the same package in a java testNG project and I have declared \'webdriver driver\' public static in class A. In that class, chrome launched, ur

2条回答
  •  被撕碎了的回忆
    2020-12-12 01:33

    This is an issue caused by the Firefox version in use, 49.0.2. It's a weird case and unclear why login functionality is being imparted by the browser version in use;however, resolving the issue requires a downgrade to version 46.0. This fixed the problem.

提交回复
热议问题