Java org.openqa.selenium.unsupportedCommand异常

Java org.openqa.selenium.unsupportedCommand异常,java,tomcat,selenium,selenium-webdriver,chrome-web-driver,Java,Tomcat,Selenium,Selenium Webdriver,Chrome Web Driver,我有一个代码库,它部署在一个服务器中,除了上传war文件之外,我没有任何访问权限。我已经在本地使用ApacheTomcat7测试了这个应用程序,它工作得非常好。 我有一个用JAVA编写的代码,可以触发远程web浏览器实例,在本地部署时效果很好,但当我将war文件上载到服务器时,会出现异常,如下图所示 nodeIP = "10.52.239.111"; driver = new RemoteWebDriver(new URL(Node), capability); 部署war的服务器的Ip


我有一个代码库,它部署在一个服务器中,除了上传war文件之外,我没有任何访问权限。我已经在本地使用ApacheTomcat7测试了这个应用程序,它工作得非常好。


我有一个用JAVA编写的代码,可以触发远程web浏览器实例,在本地部署时效果很好,但当我将war文件上载到服务器时,会出现异常,如下图所示

nodeIP = "10.52.239.111";
driver = new RemoteWebDriver(new URL(Node), capability);
部署war的服务器的Ip地址为“172.32.xxx.xxx”


我发现org.openqa.selenium.unsupportedCommand异常异常
我在谷歌上搜索了它,发现一些线程指向它,并要求更改主机文件地址和所有内容。但我不明白如何解决我的情况,因为服务器配置根本不能由我控制



非常感谢您的帮助。

这看起来在使用的jar中存在更多的冲突,您是否使用任何selenium jar或appium或任何其他软件包??您可以发布异常屏幕截图吗。@Pankaj我正在使用selenium-server-standalone-2.47.1.jar、selenium-java-2.47.1.jar,我在我的项目中没有引用或使用Appium。异常屏幕截图张贴在上面。我无法访问屏幕截图,因为它部署在服务器中。我所能做的最好的事情就是调试,直到它抛出异常并截图,如上图所示。
    DesiredCapabilities capability = DesiredCapabilities.firefox();
    capability.setBrowserName("firefox");
    FirefoxProfile fp = new FirefoxProfile();
    fp.setPreference("browser.private.browsing.autostart", true);
    //fp.setPreference(FirefoxProfile.ALLOWED_HOSTS_PREFERENCE, "localhost,localhost.localdomain");
    String Node = "http://" + nodeIP + ":5556/wd/hub";
    try {
        driver = new RemoteWebDriver(new URL(Node), capability);
        driver.manage().window().maximize();
    } catch (Exception e) {
        e.printStackTrace();
    }