selenium通过contains匹配你想要的任何标签值
<button type=“button” class=“next-button” disabled>
xpath写法:
//button[@class=“next-buutton” and @disabled=""]
<button type=“button” class=“next-button” disabled>
xpath写法:
//button[@class=“next-buutton” and @disabled=""]