webdriver 键盘模拟事件
ctrl + element
public void ctrl(String element){
Actions action=new Actions(driver);
driver.findElement(By.xpath(element)).click();
action.sendKeys(Keys.CONTROL).perform();
}
欢迎光临娇娇家的美衣阁 http://shop105984718.taobao.com/
浙公网安备 33010602011771号