How can I find this element? I am using selenium and coding in python.
These are the elements details:
Xpath = //*[@id="545711682"]
CSS-selector = #\35 45711682
This is what I have tried so far:
driver.find_element_by_xpath('//*[@id="545711682"]')
driver.find_element(By.XPATH, '//*[@id="545711682"]')
When I use elements instead of element the code doesn't fail, but I am assuming I find bunch of elements instead of one and thats why its not clickable.
Here is the link, and these is the html part that I am trying to find:
When selected:
<a href="#" class="lc_rm_a lc_rm_t" data-seq="33526109" id="545711682" onclick="return showBookingForm(this.id,'4705','12:00pm - 12:30pm, Tuesday, June 13, 2017', '30');" style="width: 30px; float:left; display:block;" title="4705, 12:00pm to 12:30pm, Tuesday, June 13, 2017"> </a>
When not selected:
<a href="#" class="lc_rm_a" data-seq="33526109" id="545711682" onclick="return showBookingForm(this.id,'4705','12:00pm - 12:30pm, Tuesday, June 13, 2017', '30');" style="width: 30px; float:left; display:block;" title="4705, 12:00pm to 12:30pm, Tuesday, June 13, 201
7"> </a>