Answer the question
In order to leave comments, you need to log in
Keystrokes in Selenium Python Webdriver?
To test the correctness, I started pressing the keys after the input was clicked to see if they were being pressed.
elem = driver.find_element_by_id("q")
elem.send_keys('t')
ActionChains(driver).key_down(Keys.LEFT_SHIFT).send_keys('ff').perform()
ActionChains(driver).key_down(Keys.LEFT_CONTROL).send_keys('t').perform()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question