系统更新

This commit is contained in:
zfh 2025-02-28 17:56:27 +08:00
parent 6930c3f386
commit 2b60930423
1 changed files with 5 additions and 5 deletions

View File

@ -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();