driver=webdriver.Chrome()
driver.get("https://compass.tinkoff.ru/")
driver.maximize_window()
driver.implicitly_wait(20)
elem = driver.find_element(By.XPATH, '//button[text()="Открыть
полную карту"]').click()
time.sleep(20)
phone = driver.find_element(By.XPATH, "//[@automation-id='phone-
input']")
phone.send_keys("12345678")
time.sleep(20)
So i added a photo of html, and need to find the element and add a phone number in an empty field. Whatever i tried (through ID or CLASS_NAME) the element cannot be found/
The element you're looking for is inside an
iframeTry this.