sách gpt4 ăn đã đi

java - org.openqa.selenium.WebDriverException : unknown error: call function result missing 'value'

In lại Tác giả: IT Lão Cao 更新时间:2023-10-28 13:53:57 34 4
mua khóa gpt4 giày nike

发送键不起作用。请帮我解决这个问题..

WebElement username = driver.findElement(By.xpath("//*[@id='username']"));      
username.sendKeys("123456");

控制台:

Exception in thread "main" org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'

(Session info: chrome=65.0.3325.31)
(Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 6.1.7601 SP1 x86)
(WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds

Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:32.194Z'
System info: host: 'NEW-PC', ip: '192.168.0.103', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_161'

司机信息:

org.openqa.selenium.chrome.ChromeDriver

Capabilities {acceptSslCerts: true, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.33.506120 (e3e53437346286..., userDataDir: C:\Users\NEW\AppData\Local\...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 65.0.3325.31, webStorageEnabled: true}

câu trả lời hay nhất

我看到了同样的问题。该问题仅在使用 Chrome 65(当前:开发 channel )时出现。使用 Chrome 64(稳定版和测试版)一切正常。

原来我安装了旧的 chromedriver。具体来说,我使用 chrome=65.0.3325.51chromedriver=2.29.461585。运行 npm install -g chromedriver 将 chromedriver 撞到 2.35.528157,现在问题解决了。希望这会有所帮助!

TL;DR:运行 npm install -g chromedriver

关于java - org.openqa.selenium.WebDriverException : unknown error: call function result missing 'value' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48609069/

34 4 0
Chứng chỉ ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com
Xem sitemap của VNExpress