您的位置:首页 > 其它

selenium webdriver:"Element is not clickable at point"

2016-04-21 14:54 375 查看
问题:"Element is not clickable at point"

解决:是因为点击的链接被遮挡

               解决方法:1.是滚动条滚动到某元素的位置:

                                     (a). Actions action = new Actions(driver);

                                            action.moveToElement(webElement).perform();

                                     (b). JavascriptExecutor jse = (JavascriptExecutor)driver;

                                            jse.executeScript("arguments[0].scrollIntoView()",webElement)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: