标签: java selenium
我想一起按下3个键盘按钮。通过使用selenium webdriver是可行的
答案 0 :(得分: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();