问题描述
我已经在Chrome 60和ChromeDriver 2.31中完美运行了测试,但Chrome更新至61版后,我必须将ChromeDriver更新至2.32。现在我得到零星的org.openqa.selenium.WebDriverException:未知错误:元素在点(X,Y)处不可点击 - 在为iPhone 6 Plus浏览器模式等移动设备模拟器运行的所有测试中, / b>
例如。
作为解决方法,我可能会在点击之前使用滚动元素,但它只是一个快速修复,最好知道这个问题来自哪里。这是目前最新的Chrome和驱动程序版本的问题吗?它会很快被修复吗?
问题在本地和远程webdriver上都被转载。
Stacktrace: b
$ b
涉及
Chrome驱动程序开发人员知道该修补程序在移动设备中无法正常工作设备模拟模式。 ChromeDriver 2.33即将发布修补程序。
I have tests that were perfectly working in Chrome 60 and ChromeDriver 2.31, but after Chrome updated to 61 version I had to update ChromeDriver to 2.32. And now I am getting sporadic org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (X, Y) - in all tests that are run for mobile device emulators such as "iPhone 6 Plus" browser mode,
for example.
As a workaround I would probably use scroll to element before the click, but it's just a quick fix and it's better to know where this issue comes from. Is it the issue of the current latest Chrome and driver releases? Is it going to be fixed soon?
Issue is reproduced on both local and remote webdriver.
Stacktrace:
I guess it relates to https://bugs.chromium.org/p/chromedriver/issues/detail?id=1852
Chrome driver Developers are aware that the fix is not working properly in mobile device emulate mode. A fix for that is coming in ChromeDriver 2.33.
这篇关于Chome 61,ChromeDriver 2.32单击移动设备模拟器的元素抛出WebDriverException:未知错误:元素在点不可点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!