问题描述:如果点击的链接代码是: 由于target="_blank",点击这个链接,会打开一个新的窗体.在新窗体中打开对应的href.但是由于slenium不能保证正确找到新打开的窗体,会报这个错. [warn] Link has target '_blank', which is not supported in Selenium! Randomizing target to be: selenium_blank28994 因此需要设置一下火狐浏览器,就可以弹出新的窗口了,如下: s
Selenium Grid 运行报错 : Exception thrown in Navigator.Start first time ->Error forwarding the new session Empty pool of VM for setup Capabilities [{platform=WINDOWS, ensureCleanSession=true, ignoreProtectedModeSettings=true, ignoreZoomSetting=true, enab
报错信息: at org.testng.TestClass.getInstances(TestClass.java:100) at org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:40) "java.lang.IllegalStateException"? 原因:对应浏览器的driver文件配置不正确 解决方法:安装相应的浏览器driver https://github.com/Selen