优化天使动漫签到
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user