点击我有以下异常:元件没有以点(x,y)的
org.openqa.selenium.WebDriverException: Element is not clickable at point (1057.38330078125, 673.13330078125). Other element would receive the click:
button id="ID4b6a687af6934e35b6f355f6305dc481" data-layout="hbox" class="hux-ui-button" type="button" role="button">
正如你所看到的,我试着点击按钮 “Speichern”。但奇怪的是,错误说他不能点击位置,但其他元素是我想要点击的按钮。
你知道我为什么以及如何解决这个问题吗?
的xpath = //span[text()='Speichern'
FF = 43.0
硒= 2.49。
通过在控制台中执行'$ x(“// span [text()='Speichern']”)'来获得单个元素吗?你在网页上是否有固定的禁止/菜单? –
那就是结果:Array []。带有这三个按钮的酒吧是相对的。 –
你有一个固定的横幅像twitter https://twitter.com/search?q=twitter?尝试使用Chrome在发生异常时查看屏幕截图,以查看隐藏按钮的内容。 –