首页 文章

selenium safari驱动程序System.NotImplementedException

提问于
浏览
0

我在mac OS Sierra上使用selenium grid 3.3.1并从windows远程运行命令(使用C#和selenium 3.3.1) . 当我尝试使用ExpectedConditions.ElementToBeClickable时,我得到以下异常:

发现了System.NotImplementedException HResult = -2147467263 Message = Build info:version:'3.3.1',revision:'5234b32',time:'2017-03-10 09:04:52 -0800' System info:host:'192-0-16-223.yunm.com',ip:'fe80:0:0:0:cb9:60b0:d3e1:6bb5%en0',os.name:'Mac OS X',os.arch:'x86_64',os . 版本:'10.12.2',java.version:'1.8.0_111'驱动程序信息:org.openqa.selenium.safari.SafariDriver Capabilities [{applicationCacheEnabled = true,rotating = false,databaseEnabled = true,handlesAlerts = true,version = 12602.3.12.0.1,cleanSession = true,platform = MAC,nativeEvents = true,locationContextEnabled = false,webStorageEnabled = true,browserName = safari,javascriptEnabled = true,cssSelectorsEnabled = true}]会话ID:379AE190-A868-44A5-98DF-D8F3A2A8ED3C Source = WebDriver StackTrace:在OpenQA .Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute,Dictionary 2 parameters) at OpenQA.Selenium.Remote.RemoteWebDriver.InternalExecute(String driverCommandToExecute, Dictionary 2参数)在OpenQA.Selenium.Remote.RemoteWebElement.Execute(String commandToExecute,Dicti)在Verint.EUA.Robots.SeleniumManager.BrowserDriver.WaitForElementToBeReady(By by,Int32 timeOutInSeconds)中,直到 2 parameters) at OpenQA.Selenium.Remote.RemoteWebElement.get_Displayed() at OpenQA.Selenium.Support.UI.ExpectedConditions.ElementIfVisible(IWebElement element) at OpenQA.Selenium.Support.UI.ExpectedConditions.<>c__DisplayClass3b.<ElementToBeClickable>b__3a(IWebDriver driver) at OpenQA.Selenium.Support.UI.DefaultWait 1.Until [TResult](Func`2条件)

该元素存在,我可以使用findElement找到它 . Selenium Proj不会影响'所有方法吗?

貉子

1 回答

  • 0

    这看起来像safaridriver或Selenium中的一个错误 . 请首先提交Selenium项目的错误,他们可以进一步诊断 .

相关问题