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