I have the following button.
<button class="btn-standard buyButton currency-coins">Buy Now for 3k <button>
I want to find if the button contains "Buy Now". I used something like this, but it didn't work.
driver.find_element_by_xpath('//button[text()="Buy Now"]').click()