我试图在一个循环中运行我的webdriver,它将关闭窗口,然后在每次它递增时重新打开它,但在它运行一次后,我仍然得到一个无效的会话ID。我查看了一下,从我所读到的内容来看,似乎我在循环中正确设置了webdriver。下面是我的代码,其中open chrome是我认为会导致错误的地方。for(int i = 0; i <
我无法在chrome浏览器中运行我的测试,我使用selenium-java2.33.0和java进行编码。: '1.6.0_35'at org.openqa.selenium.remote.RemoteWebDriver.execute<init>(RemoteWebDriver.java:115)
at org.openqa.sele
请找到附呈的截图。
错误:线程"main“org.openqa.selenium.SessionNotCreatedException:中的异常无法启动新会话。可能的原因是远程服务器或浏览器启动失败的地址无效。在org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:576) at org.openqa.selenium.remote.R
运行代码后,我得到以下错误:线程“org.openqa.selenium.InvalidArgumentException”中的异常:无效参数(会话信息: chrome=103.0.5060.114)构建信息:'11.0.15‘驱动程序信息: org.openqa.selenium.chrome.ChromeDriver命令:99bdbf5c25fd5790a9901c3f7f1dde,clickElement: chrome on WINDOWS (99bdbf5c25fd5