小编Meg*_*sri的帖子

Selenium WebDriverException:未知错误:使用Java调用函数结果缺少'value'

当我尝试在java中使用selenium webdriver运行我的第一个测试用例时,我得到以下异常.有人可以帮我解决问题.....

Starting ChromeDriver 2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f) on port 48523
Only local connections are allowed.
log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Mar 29, 2018 7:34:16 AM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'
(Session info: chrome=65.0.3325.181)
(Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 6.3.9600 x86_64) (WARNING: The server did not provide any     stacktrace information)
Command duration …
Run Code Online (Sandbox Code Playgroud)

java selenium webdriver selenium-chromedriver selenium-webdriver

0
推荐指数
1
解决办法
4754
查看次数