做点击操作时的错误WebDriverException: unknown error: Element is not clickable at point (958, 207).
来源:互联网 发布:bernsen二值化算法 编辑:程序博客网 时间:2024/05/22 03:12
selenium中进行点击操作时报错如下:
org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (958, 207). Other element would receive the click: <div class="ant-spin-container ant-spin-blur">...</div>
(Session info: chrome=55.0.2883.75)(Driver info: chromedriver=2.25.426923 (0390b88869384d6eb0d5d09729679f934aab9eed),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 68 milliseconds
Build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50'
System info: host: 'PC201611061244', ip: '192.168.89.1', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_60'
Session ID: b2b791e785d6232c55f494e30b90ae54
Driver info: org.openqa.selenium.chrome.ChromeDriver
原因:用selenium模拟用户单击元素时,JS有一个操作鼠标悬浮的时候会对元素进行修改
解决办法:用JS来操作元素
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("arguments[0].click();",driver.findElement(By.xpath("a")));
0 0
- 做点击操作时的错误WebDriverException: unknown error: Element is not clickable at point (958, 207).
- WebDriverException: unknown error: Element is not clickable at 问题解决
- selenium模拟点击下一页出现unknown error: Element is not clickable at point (80, 60)
- 关于selenium python Message: unknown error: Element is not clickable at point错误
- unknown error: Element is not clickable at point (996, 513). Other element would re
- 25、Selenium + Python 实现 UI 自动化测试-unknown error: Element is not clickable at point (x,y)
- Selenium 错误 Element is not clickable at point (x, y). Other element would receive the click
- 解决chromedriver无法click element的问题:Element is not clickable at point (326, 792.5)
- 解决selenium报错Element is not clickable at point...
- selenium webdriver:"Element is not clickable at point"
- selenium select Element is not clickable at point
- Element is not clickable at point (1108, 190). Other element would receive the click
- Selenium定位元素提示Element is not clickable at point 第一篇
- selenium报错Element is not clickable at point及四种解决方法
- selenium报错“Element is not clickable at point”及解决方法
- webdriver 报错:Element is not clickable at point (993, 61). Other element would receive the click
- webdriver 报错:Element is not clickable at point (993, 61). Other element would receive the click
- 解决Selenium报错:Element is not clickable at point (x, y). Other element would receive the click
- Drupal 7 自定义页面如何向自定义的主题传参
- PullToRefreshListView不显示
- Android 中 PopupWindow 的用法
- UIAlertController 在didSelectRowAtIndexPath里 有时候点了半天才出来
- 您现在只需免费与相机捆绑即可购买一个PSVR
- 做点击操作时的错误WebDriverException: unknown error: Element is not clickable at point (958, 207).
- Retrofit请求数据对错误以及网络异常的处理
- 简单检测mysql主从正常与否的脚本
- Docker数据卷报错的解决[Wrong volume permissions?]
- 图像卷积与滤波的一些知识点
- HDU2896,ac自动机模板题
- shell是一个用户与内核的交互程序
- 第五次作业
- java版本CRC16