browser.find_element_by_xpath('//button[normalize-space()="BUTTON-TEXT-HERE"]')
Here is what the above code is Doing:
1. It’s finding the element by its XPath.
2. It’s storing the element in a variable called “button”.
3. It’s clicking the element.