优化天使动漫签到

This commit is contained in:
2021-12-14 01:53:17 +08:00
parent 5a29f7595b
commit 159a437853
2 changed files with 3 additions and 2 deletions

View File

@@ -65,8 +65,9 @@ public class Tsdm extends Model {
getTsdm(array, driver);
boolean isSign=false;
for (WebElement element : driver.findElements(By.xpath("//a"))) {
if(element.getText().contains("签到")){
if(element.getText().contains("签到领奖!")){
isSign=true;
break;
}
}
if(!isSign){