【发布时间】:2018-02-25 22:45:43
【问题描述】:
我有一个按钮,我使用 click 元素按下它。这是一个显示更多按钮。
webElem$clickElement()
但是在某些页面中,r selenium 给出了这个错误:
Selenium message:unknown error: Element <button class = "mybutton">...</button> is not clickable at point (462, 24). Other element would receive the click: <div id="etype">...</div>
是否可以让 RSelenium 转到特定点,或者是否有其他选项而不是单击?或者通常滚动直到元素可用?
【问题讨论】:
-
Other element would receive the click: <div id="etype">...</div>有另一个元素阻止了点击。可能是一些弹出窗口或叠加层。关闭它,你的脚本应该可以正常工作了。