I wanted to click on the date in the dropdown datepicker. Bus the error occurs Unable to Locate Element. I tried :
monyear = driver.find_element_by_xpath('/html/body/div[7]/div[1]/table/tbody/tr[5]/td[1]').click()
and
element=WebDriverWait(driver,30).until(ec.element_to_be_clickable((By.XPATH,"/html/body/div[7]/div[1]/table/tbody/tr[5]/td[1]")))
driver.execute_script("arguments[0].click();", element)
But none of them worked for me. Please suggest the possible solutions for it. Here is the HTML code and image of the dopbox.
<div class="datepicker dropdown-menu" style="display: block; top: 311.969px; left: 627.406px;">
<div class="datepicker-days" style="display: block;">
<table class=" table-condensed">
<thead>
<tr>
<th class="prev">‹</th>
<th colspan="5" class="switch">August 2020</th>
<th class="next">›</th>
</tr>
<tr>
<th class="dow">Su</th>
<th class="dow">Mo</th>
...........
<th class="dow">Sa</th>
</tr></thead>
<tbody>
............
<tr>
<td class="day active">23</td>
<td class="day ">24</td>
<td class="day ">25</td>
<td class="day ">26</td>
<td class="day ">27</td>
<td class="day ">28</td>
<td class="day ">29</td></tr>
<tr>
I found these two frames:
<iframe src="chrome-extension://kdfieneakcjfaiglcfcgkidlkmlijjnh/writer/index.html"></iframe>
<iframe class="ginger-banner-frame" style="width:385px;height:85px;" ng-src="https://cdn.gingersoftware.com/banners/default/chromeextension.writer.underTools.html" src="https://cdn.gingersoftware.com/banners/default/chromeextension.writer.underTools.html"></iframe>
These might be of chrome extensions. Do they have any effect?