【发布时间】:2019-10-01 17:15:14
【问题描述】:
我有这个动态变化的 xpath 元素,我喜欢点击它,我该怎么做?
//*[@id="/api/services/61_ellipsis"]
按钮 HTML 是:
<button type="button" class="v-btn v-btn--flat v-btn--icon v-btn--round theme--light v-size--default" id="/api/services/33_ellipsis">
<span class="v-btn__content">
<i aria-hidden="true" class="v-icon notranslate mdi mdi-dots-vertical theme--light">
</i>
</span>
</button>
【问题讨论】:
-
你能发布你的html源代码吗?
-
标签: python selenium xpath css-selectors webdriverwait