如何获取屏幕截图中所见的“Change”按钮的XPath?

huangapple 未分类评论46阅读模式
英文:

How to get the Xpath for the "Change" button as seen in the screenshot?

问题

这是一个 Web 应用程序,我正在尝试获取“更改”按钮的 XPath。我尝试了下面的 XPath,但它不起作用。

    //div[@class='co-payment-card']//button[contains(text(),'Change')]
英文:

如何获取屏幕截图中所见的“Change”按钮的XPath?

This is a webapp application and I'm trying to get the Xpath for the "change" button. I tried the below xpath, but it didn't work.

//div[@class='co-payment-card']//button[contains(text(),'Change')]

huangapple
  • 本文由 发表于 2020年4月9日 01:34:26
  • 转载请务必保留本文链接:https://java.coder-hub.com/61106594.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定