sending keyboard shortcuts to chrome webdriver Not working

481 views
Skip to first unread message

Manish Chopra

unread,
Jan 17, 2017, 11:36:45 PM1/17/17
to Selenium Users
Hey Guys,
any help appreciated....
An extention(Wave accessability) is not running via selenium(for chrome).
1. I added extention to chrome webdriver.
2. Added a 'Keyboard shortcuts'to open this via selenium.
3. Opened my Page to test.
4. Try running extention by sending shortcut command(ctrl+m) using below.
new Actions(Driver.ProxiedDriver).KeyDown(Keys.Control).SendKeys("m").Build().Perform();

But did not work.
little bit more
First 3 steps are working but seems like the 4th step has no effect.

Manish Chopra

unread,
Jan 17, 2017, 11:43:46 PM1/17/17
to Selenium Users
The below line has no effect either:-
 new Actions(driver).SendKeys(Keys.Control + "j" ).Build().Perform();   // Here am sending ctrl+j that will open downloads tab
Reply all
Reply to author
Forward
0 new messages