I'm trying to get the <div> element within an iframe, but not able to find it.
Here is what I am trying to do:
options = webdriver.ChromeOptions() driver = webdriver.Chrome(options=options) driver.get("https://meuvaptvupt.com.br/pagina/agendamento")
try:
    time.sleep(5)
    modal = driver.find_element(by=By.ID, value="seleciona-cidade")
    print(modal) except NoSuchElementException:
    print("can't find it!!!") except:
    print("another error")
driver.quit()
The page doesn't show the element that I want. Some tips on how to do it?
What I want to see is a modal element, with the id seleciona-cidade, from the URL https://meuvaptvupt.com.br/pagina/agendamento
 
     
    
