webdriver 键盘模拟事件
时间:2014-05-24 00:52:48
收藏:0
阅读:245
ctrl + element
1
2
3
4
5
6
7
8
9 |
public void ctrl(String element){ Actions action= new
Actions(driver); driver.findElement(By.xpath(element)).click(); action.sendKeys(Keys.CONTROL).perform(); } |
评论(0)