There are 2 radioboxes "Yes" and "No", the "No" is selected by default and I want to click the "Yes" one but keep getting the same error
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <input type="radio" id="si_notificar" name="notificar" value="1" class="custom-control-input notificar"> is not clickable at point (361, 308). Other element would receive the click: <label class="custom-control-label text-sm" for="si_notificar">...</label>
I have tried by xpath, by id, using WeDriverWait (I'm using time.sleep
right now with an extended time just to be sure that the time isn't the problem) but it gives me the same error.
YES radio box:
<input type="radio" id="si_notificar" name="notificar" value="1" class="custom-control-input notificar"> ```
NO radio box:
<input type="radio" id="no_notificar" name="notificar" value="0" class="custom-control-input notificar" checked="">
My code:
time.sleep(15)
driver.find_element(By.ID,"si_notificar").click()