0

i try to click a radio button here

radioButton = driver.find_element(By.ID, "gender_option_male").click()

and i get this error:

Exception has occurred: ElementClickInterceptedException
Message: element click intercepted: Element <input type="radio" id="gender_option_male" name="gender" required="" value="male" aria-invalid="false" data-encore-id="visuallyHidden" class="VisuallyHidden__VisuallyHiddenElement-sc-17bibe8-0 jixzfg"> is not clickable at point (230, 560). Other element would receive the click: <div class="encore-light-theme">...</div>
  

So i try this

radioButton = driver.find_element(By.ID, "gender_option_male")

acao = ActionChains(driver)
acao.move_to_element(radioButton).click().perform()

how can i solve this ?

matur0
  • 1
  • 2

0 Answers0