我试着在网上找到问题的答案而且我没有成功。在我从我的网站注销并尝试登录后,等待IE selenium驱动程序版本2.48上的UnreachableBrowserException。我试图将我的驱动程序更新到2.53,但它没有帮助(2.48更稳定)。我试图通过CMD和我在网上看到的其他东西杀死所有过程,你能建议吗?
org.openqa.selenium.remote.UnreachableBrowserException:错误 与远程浏览器通信。它可能已经死了。 构建信息:版本:' 2.53.1',修订版:' a36b8b1cd5757287168e54b817830adce9b0158d',时间:' 2016-06-30 19:26:09' 系统信息:主机:' QA-2-Win8_1-64',ip:' 192.168.0.235',os.name:' Windows 8.1',os .arch:' amd64',os.version:' 6.3',java.version: ' 1.8.0_91' 驱动程序信息:driver.version:RemoteWebDriver Capabilities [{browserAttachTimeout = 0,enablePersistentHover = false,ie.forceCreateProcessApi = false, pageLoadStrategy = normal,ie.usePerProcessProxy = false, ignoreZoomSetting = true,handlesAlerts = true,version = 11, platform = WINDOWS,nativeEvents = true,ie.ensureCleanSession = false, elementScrollBehavior = 0,ie.browserCommandLineSwitches =, requireWindowFocus = false,browserName = internet explorer, initialBrowserUrl = http://localhost:15488/,takeScreenshot = true, javascriptEnabled = true,ignoreProtectedModeSettings = false, enableElementCacheCleanup = true,cssSelectorsEnabled = true, unexpectedAlertBehaviour =驳回}] 会话ID:dd78bb1b-97ea-486c-bc59-c7e21dd272f1 在org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665) 在org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363) 在org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413) 在org.openqa.selenium.By $ ById.findElement(By.java:218) 在org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355) at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69) 在org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38) 在com.sun.proxy。$ Proxy7.isDisplayed(未知来源) at org.openqa.selenium.support.ui.ExpectedConditions.elementIfVisible(ExpectedConditions.java:302) 在org.openqa.selenium.support.ui.ExpectedConditions.access $ 100(ExpectedConditions.java:41) at org.openqa.selenium.support.ui.ExpectedConditions $ 10.apply(ExpectedConditions.java:288) 在org.openqa.selenium.support.ui.ExpectedConditions $ 10.apply(ExpectedConditions.java:285) 在org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238) at com.automation.main.Page.waitForVisibility(Page.java:124) at com.automation.main.LoginHelperPage.loginAdmin(LoginHelperPage.java:160) at com.automation.main.TC18859ValidateTheSourceTypeAsRecordingChapterInSearchFieldOnThePastCourseLevel.loginCourses(TC18859ValidateTheSourceTypeAsRecordingChapterInSearchFieldOnThePastCourseLevel.java:171) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80) 在org.testng.internal.Invoker.invokeMethod(Invoker.java:714) 在org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) 在org.testng.TestRunner.privateRun(TestRunner.java:767) 在org.testng.TestRunner.run(TestRunner.java:617) 在org.testng.SuiteRunner.runTest(SuiteRunner.java:334) 在org.testng.SuiteRunner.run顺序(SuiteRunner.java:329) 在org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) 在org.testng.SuiteRunner.run(SuiteRunner.java:240) 在org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) 在org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1198) at org.testng.TestNG.runSuitesLocally(TestNG.java:1123) 在org.testng.TestNG.run(TestNG.java:1031) 在org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:115) 在org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:207) 在org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:178) 引起:org.openqa.selenium.WebDriverException:org.apache.http.conn.HttpHostConnectException:连接到 localhost:15488 [localhost / 127.0.0.1,localhost / 0:0:0:0:0:0:0:1] 失败:连接被拒绝:连接 构建信息:版本:' 2.53.1',修订版:' a36b8b1cd5757287168e54b817830adce9b0158d',时间:' 2016-06-30 19:26:09' 系统信息:主机:' QA-2-Win8_1-64',ip:' 192.168.0.235',os.name:' Windows 8.1',os .arch:' amd64',os.version:' 6.3',java.version: ' 1.8.0_91' 驱动程序信息:driver.version:RemoteWebDriver 在org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:91) 在org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644) ......还有39个 引起:org.apache.http.conn.HttpHostConnectException:连接到localhost:15488 [localhost / 127.0.0.1,localhost / 0:0:0:0:0:0:0:1] 失败:连接被拒绝:连接 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) 在org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 在org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) 在org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) 在org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 在org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) 在org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) 在org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) 在org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144) 在org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90) 在org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142) 在org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82) ......还有40多个 引起:java.net.ConnectException:连接被拒绝:连接 at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) 在java.net.DualStackPlainSocketImpl.socketConnect(未知来源) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 在java.net.AbstractPlainSocketImpl.connect(未知来源) 在java.net.PlainSocketImpl.connect(未知来源) 在java.net.SocksSocketImpl.connect(未知来源) 在java.net.Socket.connect(未知来源) at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141) ... 53更多