标签:click phone xpath release key tor sel cli nta
public ReleaseRequirePage setContactNumber(String phoneNum) {
WebElement element=tp.xpathLocator(TradingHallLoc.acontactNumber);
element.click();
element.sendKeys(Keys.chord(Keys.CONTROL, "a"));//全选
element.sendKeys(Keys.BACK_SPACE);//退格键删除
element.sendKeys(phoneNum);
return this;
}
标签:click phone xpath release key tor sel cli nta
原文地址:https://www.cnblogs.com/xiule/p/11996802.html