-4

I want to press 3 keyboard buttons together. by using selenium webdriver is it posible

  • http://stackoverflow.com/questions/11503736/key-press-in-ctrla-selenium-webdriver – RSon1234 Feb 15 '17 at 09:02
  • Possible duplicate of [Key press in (Ctrl+A) Selenium WebDriver](http://stackoverflow.com/questions/11503736/key-press-in-ctrla-selenium-webdriver) – saurabh Feb 15 '17 at 09:08

1 Answers1

1
Actions a = new Actions(Driver)
a.keyDown(Keys.CONTROL);
a.keyDown(Keys.ALT);
a.keyDown(Keys.NUMPAD6);
a.keyUp(Keys.NUMPAD6);
a.keyUp(Keys.ALT);
a.keyUp(Keys.CONTROL);
a.perform();
Joost
  • 3,169
  • 2
  • 22
  • 40
Lyle
  • 21
  • 2