小编Rit*_*are的帖子

无法使用XPath定位器为Selenium 2.47.1的Edge Driver实例找到元素

获取以下异常消息:

Exception in thread "main" org.openqa.selenium.WebDriverException: ????tor not implemented (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 16 milliseconds
Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 02:56:46'
System info: host: 'WIN-CMEFNAVR643', ip: '192.168.3.254', os.name: 'Windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_51'
Driver info: org.openqa.selenium.edge.EdgeDriver
Capabilities [{acceptSslCerts=true, browserVersion=20.10240.16384.0, platformVersion=10, browserName=MicrosoftEdge, takesScreenshot=true, pageLoadStrategy=normal, takesElementScreenshot=true, platformName=windows, platform=ANY}]
Session ID: 65DB54C4-7689-4443-A6C7-DD95943B38B8
*** Element info: {Using=xpath, value=//input[@id='username']}
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown …
Run Code Online (Sandbox Code Playgroud)

selenium selenium-webdriver microsoft-edge

3
推荐指数
1
解决办法
3012
查看次数