我如何访问 pop ui 按钮?
我有一个通过删除对象触发的弹出按钮。如果我似乎可以找到它,我该如何单击该按钮。
我像这样使用 xpath:
$browser.button(:xpath, "/html/body/div/div/div/div/div/div/button").click
这是一个代码片段:
提前致谢。
I have a pop up button that is triggered by deleting an object. How can I click the button if I can seem to find it.
I have used xpath like so:
$browser.button(:xpath, "/html/body/div/div/div/div/div/div/button").click
Here is a code snippet:
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

试试这个:
或者
或者
Try this:
or
or