Opera瀏覽器上週發生了更新。從此它停止工作。它打開瀏覽器並在URL中顯示'data :,'並引發webdriver異常。 Opera 41是否與硒2.53.1兼容?OperaDriver無法啓動
拋出異常是:
Result Message: Initialization method SDTestAutomation.HomePage_Tests.Init threw exception. OpenQA.Selenium.WebDriverException: OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:64865/session timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out..
Result StackTrace:
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.CreateResponse(WebRequest request)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
at OpenQA.Selenium.Opera.OperaDriver..ctor(String operaDriverDirectory, OperaOptions options)
at OpenQA.Selenium.Opera.OperaDriver..ctor(String operaDriverDirectory)
at SmartDebitTestFramework.Drivers.Initialize(String browser)
瀏覽器初始化是直線前進。
driver = new OperaDriver(path of the driver);
嘗試了硒3,但沒有運氣。有同樣的例外。
沒有辦法自動化最新的Opera驅動程序。 :) –
@QualityProducts這是爲什麼?你有什麼資料來證實這一點。降級是唯一的選擇嗎? – Sudeepthi
@QualityProducts我們能否自動停止Opera升級。我沒有在設置中找到自動停止更新的選項。謝謝。 – Sudeepthi