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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…