How can I send multiple tabs with Selenium?
When I run:
uname = browser.find_element_by_name("text")
uname.send_keys(Keys.TAB)
the next element is selected. When executing uname.send_keys(Keys.TAB)
again nothing happens - actually the next element from uname
is selected → so it is the same as when running it once.
How can I jump forward multiple times - basically as I would press TAB manually multiple times?
from selenium.webdriver.common.action_chains import Keys
– Nectarine