selenium safari驱动程序System.NotImplementedException

时间:2017-04-12 09:05:11

标签: selenium safari selenium-grid safaridriver

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

发现了System.NotImplementedException   的HResult = -2147467263   消息=构建信息:版本:&#39; 3.3.1&#39;,修订版:&#39; 5234b32&#39;,时间:&#39; 2017-03-10 09:04:52 -0800&#39; 系统信息:主持人:&#39; 192-0-16-223.yunm.com&#39;,ip:&#39; fe80:0:0:0:cb9:60b0:d3e1:6bb5%en0&#39; ,os.name:&#39; Mac OS X&#39;,os.arch:&#39; x86_64&#39;,os.version:&#39; 10.12.2&#39;,java.version:&# 39; 1.8.0_111&#39; 驱动程序信息:org.openqa.selenium.safari.SafariDriver Capabilities [{applicationCacheEnabled = true,rotate = 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   来源=的webdriver   堆栈跟踪:        在OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)        在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,Dictionary 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 condition)        在Verint.EUA.Robots.SeleniumManager.BrowserDriver.WaitForElementToBeReady(By by,Int32 timeOutInSeconds)

元素存在,我可以使用findElement找到它。 Selenium Proj不会影响&#39;所有方法??

Hezi

1 个答案:

答案 0 :(得分:0)

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