mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
Fix: Cannot use xpath in appear_then_click
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user