Вот часть html страницы с кнопками:
<tbody> <tr> <td> <input type="radio" id="ID_DELIVERY_ID_41" name="DELIVERY_ID" value="41" checked=""> <label for="ID_DELIVERY_ID_41" onclick="BX('ID_DELIVERY_ID_41').checked=true; submitForm();"> </label> </td> <td> <label for="ID_DELIVERY_ID_41" onclick="BX('ID_DELIVERY_ID_41').checked=true; submitForm();"> <span class="title">Курьерская доставка</span> </label> </td> </tr> <tr> <td> <input type="radio" id="ID_DELIVERY_ID_43" name="DELIVERY_ID" value="43"> <label for="ID_DELIVERY_ID_43" onclick="BX('ID_DELIVERY_ID_43').checked=true; submitForm();"></label> </td> <td> <label for="ID_DELIVERY_ID_43" onclick="BX('ID_DELIVERY_ID_43').checked=true; submitForm();"> <span class="title">Пункт самовывоза</span> </label> </td> </tr> </tbody> </table>
Мой selenium код который я вводил:
driver.find_element_by_id("ID_DELIVERY_ID_41").click() driver.find_element_by_xpath("(//input[@id='ID_DELIVERY_ID_41'])").click() driver.find_element_by_xpath("(/html[1]/body[1]/section[1]/div[1]/section[1]/div[1]/form[1]/div[1]/div[2]/div[1]/div[1]/table[1]/tbody[1]/tr[1]/td[1]/input[1])").click()
Вот такую ошибку выдает мне selenium:
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable