How can I send key chords to text area with Selenium?
for me, on c# only this variation works:
actions.KeyDown(Keys.Control);
actions.SendKeys("a");
actions.KeyUp(Keys.Control);
Simpler than I expected. Since SendKeys takes a string, and the static constants on Keys are all strings they can simply be concatenated together like this:
textarea.SendKeys(Keys.Shift + Keys.Enter);