小编Tab*_*sum的帖子

selenium.JavascriptException:javascript 错误:无法在“文档”上执行“elementFromPoint”:提供的双精度值是非有限的

使用 chrome 78 和 chromedriver78 当我单击音频文件或尝试使用 selenium 测试停止音频时,我收到此错误。

错误:

org.openqa.selenium.JavascriptException: javascript error: Failed to execute 'elementsFromPoint' on 'Document': The provided double value is non-finite.
Run Code Online (Sandbox Code Playgroud)

请注意,它仅发生在远程 webdriver 并且不一致。

错误堆栈跟踪:

当“item_1”元素的音频播放器在“[data-rcfid='checkbox_7']”中停止时

org.openqa.selenium.JavascriptException: javascript error: Failed to execute 'elementsFromPoint' on 'Document': The provided double value is non-finite.
  (Session info: chrome=78.0.3904.70)
Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'
System info: host: 'ip-10-0-10-137', ip: '10.0.10.137', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-71-generic', java.version: '1.8.0_111'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 78.0.3904.70, chrome: …
Run Code Online (Sandbox Code Playgroud)

selenium webdriver selenium-chromedriver selenium-webdriver selenium-remotedriver

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