mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-17 00:30:24 +08:00
Fix: Cannot use xpath in appear_then_click
This commit is contained in:
parent
02ea711144
commit
a72b99ac8d
@ -102,6 +102,7 @@ class ModuleBase:
|
||||
return appear
|
||||
|
||||
def appear_then_click(self, button, screenshot=False, genre='items', offset=0, interval=0, threshold=None):
|
||||
button = self.ensure_button(button)
|
||||
appear = self.appear(button, offset=offset, interval=interval, threshold=threshold)
|
||||
if appear:
|
||||
if screenshot:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user