系统更新
This commit is contained in:
parent
6930c3f386
commit
2b60930423
|
|
@ -74,6 +74,11 @@ public class DutyClock {
|
|||
}
|
||||
}
|
||||
|
||||
Thread.sleep(1000 * 4);
|
||||
webDriver.findElement(By.xpath(xpaht)).click();
|
||||
log.info("打卡签到----------");
|
||||
Thread.sleep(1000 * 5);
|
||||
|
||||
//判断是否有相应的元素
|
||||
try{
|
||||
Thread.sleep(2000);
|
||||
|
|
@ -91,11 +96,6 @@ public class DutyClock {
|
|||
log.info("无确认框,在时间范围内----------");
|
||||
}
|
||||
|
||||
Thread.sleep(1000 * 4);
|
||||
webDriver.findElement(By.xpath(xpaht)).click();
|
||||
log.info("打卡签到----------");
|
||||
Thread.sleep(1000 * 5);
|
||||
|
||||
|
||||
//点击弹出框确认
|
||||
webDriver.findElement(By.xpath("/html/body/div[2]/div/div[2]/div/div[2]/div[1]")).click();
|
||||
|
|
|
|||
Loading…
Reference in New Issue