I am trying to fill this form with selenium in python: https://ing.ingdirect.es/app-login/
Using this code:
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
browser = webdriver.Firefox(executable_path = '/usr/local/bin/geckodriver')
browser.get('https://ing.ingdirect.es/pfm/#login')
WebDriverWait(browser, 30).until(EC.presence_of_element_located((By.CSS_SELECTOR, '#aceptar'))).click()
browser.find_element_by_css_selector('#ing-uic-native-input_0').send_keys('xx')
But I get this error:
NoSuchElementException: Message: Unable to locate element: #ing-uic-native-input_0
I have tried unsuccessfully to find frames and other ways to find the element: xpath, id, etc.
Any suggestions?