Java 使用“时操作类出错”;selenium-server-standalone-3.0.0-beta2“;
当我在firefox浏览器上使用Java 使用“时操作类出错”;selenium-server-standalone-3.0.0-beta2“;,java,selenium,Java,Selenium,当我在firefox浏览器上使用selenium-server-standalone-3.0.0-beta2selenium版本时,会显示上述错误: 下面是示例代码: Exception in thread "main" org.openqa.selenium.UnsupportedCommandException: POST /session/73b57e0a-42de-4b91-9864-6edd30d7d2c1/moveto did not match a known command (W
selenium-server-standalone-3.0.0-beta2
selenium版本时,会显示上述错误:
下面是示例代码:
Exception in thread "main" org.openqa.selenium.UnsupportedCommandException: POST /session/73b57e0a-42de-4b91-9864-6edd30d7d2c1/moveto did not match a known command (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 8 milliseconds
我建议你不要使用测试版,可能会有很多bug 您需要降级您的
selenium
版本并使用Actions
类,直到selenium 3
的最终版本不会发布
act.clickAndHold(dragElement).moveToElement(dropElement).release().perform();