https://agent.loadbook.in/#/login When I go to the signup form, the form has a checkbox as I agree with the condition. It's an Input tag checkbox. when I select the tag by id and when I perform click or send_key of submitting its showing checkbox not clickable.
below all Method are not work driver.find_element_by_xpath('//div[@class="switch__container"]//input').click()
driver.find_element_by_xpath('//div[@class="switch__container"]//input').send_keys(Keys.ENTER)
driver.find_element_by_xpath('//div[@class="switch__container"]//input').submit()
driver.find_element_by_xpath('//div[@class="switch__container"]//input').send_keys("after")
driver.find_element_by_xpath('//div[@class="switch__container"]//label').click()
driver = webdriver.Chrome(options=chrome_options) driver.get("https://agent.loadbook.in/#/login")
driver.find_element_by_partial_link_text("Create an account").click()
try:
driver.find_element_by_xpath('//div[@class="switch__container"]//input').click()
# driver.find_element("name","username").send_keys("test")
# driver.find_element("name","email").send_keys("test@test.com")
# driver.find_element("name","phone").send_keys("99999999")
# driver.find_element("name","password").send_keys("12345")
except NoSuchElementException as exception: print("not found")
selenium.common.exceptions.ElementNotVisibleException: Message: element not interactable
Aucun commentaire:
Enregistrer un commentaire