我正在尝试使用seleniumpython自动化sapepm应用程序。它是一个基于浏览器的应用程序。我可以打开主页,然后我必须点击一个瓷砖。但我无法点击它。上面写着“元素不可见”。你知道吗
我尝试使用xpath,但是没有成功。你知道吗
平铺HTML:
<div class="tile tile-webdyn draggable tileBGColor ui-draggable ui-draggable-handle
ui-droppable border-norm" id="PLANCHGWO" style="position: relative;">
<div class="tileName">
<center>Change PM Order</center>
</div>
<div class="tileImage">
<center>
<img width="50px" height="50px" src="EDWO.png">
</center>
</div>
</div>
您可以尝试调用
wait
,然后用Javascript单击所需的WebElement来解决您看到的not visible
错误。你知道吗如果这不起作用,我们可能需要查看完整的HTML页面来理解您试图单击的元素。它可能隐藏在
iframe
中或被页面上的其他元素遮挡。你知道吗相关问题 更多 >
编程相关推荐