I'm trying to select a button on a site where the className is the same for multiple elements and the thing that differentiates each one is the header tag.
Right now I have this
button = browser.find_element_by_class_name('start')
button.click()
On the webpage there are 2 buttons which are defined as the below
<h4 class="start">1:48pm</h4>
<h4 class="start">3:54pm</h4>
I am trying to specify my script to select based on the time within the header tags of the start class.Is there a way to do that using Selenium and Python?