How can selenium click a button with a dynamic ID

后端 未结 0 390
时光说笑
时光说笑 2021-01-03 09:34

So the following code has ID\'s for each button but they are dynamic every refresh and I\'ve tried using maleBtn = driver.find_element_by_xpath(\'//button[text()="

相关标签:
回答
  • 消灭零回复
提交回复
热议问题