2022年2月22日 星期二

Send Keys shift+tab on Selenium Web driver

 Shamelessly copied from https://www.programcreek.com/python/example/97717/selenium.webdriver.common.keys.Keys.SHIFT

a = ActionChains(driver)
a.key_down(Keys.SHIFT).send_keys(Keys.TAB).key_up(Keys.SHIFT)
a.perform()


from: https://stackoverflow.com/questions/56691117/send-keys-shifttab-on-selenium-web-driver

沒有留言:

張貼留言