Answers for "selenium select button by text"

1

selenium find button by text

browser.find_element_by_xpath('//button[normalize-space()="BUTTON-TEXT-HERE"]')
Posted by: Guest on June-16-2020
0

how to select element by text in selenium

driver.find_elements_by_xpath("//*[contains(text(), 'My Button')]")
Posted by: Guest on August-24-2021

Code answers related to "selenium select button by text"

Python Answers by Framework

Browse Popular Code Answers by Language