Answer the question
In order to leave comments, you need to log in
How to set key combinations in sendKeys Selenium webdriverjs?
I use a bunch of selenium + javascript under Windows. How to send via sendKeys to the found element (textarea) the key combination Ctrl-a (select all)?
Answer the question
In order to leave comments, you need to log in
element.keyDown(webdriver.Key.CONTROL).sendKeys('a').keyUp(webdriver.Key.CONTROL);
element.sendKeys(webdriver.Key.CONTROL, "a")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question