Java firefox中未识别协议握手

Java firefox中未识别协议握手,java,selenium,firefox,geckodriver,Java,Selenium,Firefox,Geckodriver,有人能帮我解决这个错误吗?没有明确说明。版本有问题吗 错误 错误:org.openqa.selenium.remote.ProtocolHandshake createSession 信息:检测到的方言:W3C 这个问题的编程角度是什么?使用的代码是:java.util.Set handles=driver.getWindowHandles();java.util.Iterator迭代器=handles.Iterator();while(iterator.hasNext()){subWindow

有人能帮我解决这个错误吗?没有明确说明。版本有问题吗

错误

错误:org.openqa.selenium.remote.ProtocolHandshake createSession
信息:检测到的方言:W3C

这个问题的编程角度是什么?使用的代码是:java.util.Set handles=driver.getWindowHandles();java.util.Iterator迭代器=handles.Iterator();while(iterator.hasNext()){subWindowHandler=(String)iterator.next();}driver.switchTo().window(subWindowHandler);System.out.println(“@Given:我是一个申请者1”);driver.findElement(By.linkText(“按钮接受”))。单击();System.out.println(“@Given:我是一个申请者2”);driver.switchTo().window(parentWindowHandler);您必须提供您正在使用的selenium版本、geckodriver版本和firefox版本。顺便说一句,如果它们不是最新版本,请更新到最新版本,然后重试。firefox:53.0.2(32位)selenium-3.4.0 gecko-0.16.1-win32我认为它是所有最新版本,但仍然存在错误。此外,我的系统是64位操作系统