1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-01-07 14:05:12 +00:00

Compare commits

...

4 Commits

7 changed files with 212 additions and 200 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -1,94 +1,94 @@
{ {
"Menu": { "Menu": {
"Alas": { "Alas": {
"name": "Menu.Alas.name", "name": "AAS",
"help": "Menu.Alas.help" "help": ""
}, },
"Daily": { "Daily": {
"name": "Menu.Daily.name", "name": "Daily",
"help": "Menu.Daily.help" "help": ""
} }
}, },
"Task": { "Task": {
"Alas": { "Alas": {
"name": "Task.Alas.name", "name": "AAS Settings",
"help": "Task.Alas.help" "help": ""
}, },
"Restart": { "Restart": {
"name": "Task.Restart.name", "name": "Error Handling",
"help": "Task.Restart.help" "help": ""
}, },
"Cafe": { "Cafe": {
"name": "Task.Cafe.name", "name": "Cafe",
"help": "Task.Cafe.help" "help": ""
}, },
"Mail": { "Mail": {
"name": "Task.Mail.name", "name": "Mailbox",
"help": "Task.Mail.help" "help": ""
}, },
"Circle": { "Circle": {
"name": "Task.Circle.name", "name": "Circle",
"help": "Task.Circle.help" "help": ""
}, },
"TacticalChallenge": { "TacticalChallenge": {
"name": "Task.TacticalChallenge.name", "name": "Tactical Challenge",
"help": "Task.TacticalChallenge.help" "help": ""
}, },
"DataUpdate": { "DataUpdate": {
"name": "Task.DataUpdate.name", "name": "Dashboard Upd",
"help": "Task.DataUpdate.help" "help": ""
} }
}, },
"Scheduler": { "Scheduler": {
"_info": { "_info": {
"name": "Scheduler._info.name", "name": "Scheduler",
"help": "Scheduler._info.help" "help": ""
}, },
"Enable": { "Enable": {
"name": "Scheduler.Enable.name", "name": "Enable Task",
"help": "Scheduler.Enable.help", "help": "Join this task to scheduler.",
"True": "True", "True": "Enabled",
"False": "False" "False": "False"
}, },
"NextRun": { "NextRun": {
"name": "Scheduler.NextRun.name", "name": "Next Run",
"help": "Scheduler.NextRun.help" "help": "Updated automatically after completing the task to set next scheduled run, typically not manually modified\nHowever you can force immediate scheduling if you clear this text field"
}, },
"Command": { "Command": {
"name": "Scheduler.Command.name", "name": "Command",
"help": "Scheduler.Command.help" "help": ""
}, },
"ServerUpdate": { "ServerUpdate": {
"name": "Scheduler.ServerUpdate.name", "name": "Server Update",
"help": "Scheduler.ServerUpdate.help" "help": "Series of server refresh time(s) as to when this task will next run, this is automatically converted to respective time zone, generally do not need to modify"
} }
}, },
"Emulator": { "Emulator": {
"_info": { "_info": {
"name": "Emulator._info.name", "name": "Emulator Settings",
"help": "Emulator._info.help" "help": ""
}, },
"Serial": { "Serial": {
"name": "Emulator.Serial.name", "name": "Serial",
"help": "Emulator.Serial.help" "help": "Common emulator Serial can be queried in the list below\nUse \"auto\" to auto-detect emulators, but if multiple emulators are running or use emulators that do not support auto-detect, \"auto\" cannot be used and serial must be filled in manually\nDefault serial for select emulators:\n- BlueStacks 127.0.0.1:5555\n- BlueStacks4 Hyper-V use \"bluestacks4-hyperv\", \"bluestacks4-hyperv-2\" for multi instance, and so on\n- BlueStacks5 Hyper-V use \"bluestacks5-hyperv\", \"bluestacks5-hyperv-1\" for multi instance, and so on\n- NoxPlayer 127.0.0.1:62001\n- NoxPlayer64bit 127.0.0.1:59865\n- MuMuPlayer/MuMuPlayer X 127.0.0.1:7555\n- MuMuPlayer12 127.0.0.1:16384\n- MemuPlayer 127.0.0.1:21503\n- LDPlayer emulator-5554 or 127.0.0.1:5555\n- WSA use \"wsa-0\" to make the game run in the background, which needs to be controlled or closed by third-party software\nIf there are multiple emulator instances running, the default is reserved for one of them and the others will use different serials to avoid conflicts\nOpen console.bat and run `adb devices` to find them or follow the emulator's official tutorial"
}, },
"PackageName": { "PackageName": {
"name": "Emulator.PackageName.name", "name": "Game Server",
"help": "Emulator.PackageName.help", "help": "Can't distinguish different regions of oversea servers, please select the server manually.",
"auto": "auto", "auto": "Auto-detect",
"JP-Official": "JP-Official" "JP-Official": "[JP]-Official"
}, },
"GameLanguage": { "GameLanguage": {
"name": "Emulator.GameLanguage.name", "name": "In-game Text Language",
"help": "Emulator.GameLanguage.help", "help": "Currently, only Simplified Chinese and English are supported. Please set the text language in game to one of them.",
"auto": "auto", "auto": "Auto-detect",
"jp": "jp" "jp": "Japanese"
}, },
"ScreenshotMethod": { "ScreenshotMethod": {
"name": "Emulator.ScreenshotMethod.name", "name": "Screenshot Method",
"help": "Emulator.ScreenshotMethod.help", "help": "When using auto-select, a benchmark will be performed and automatically changed to the fastest screenshot method.\nGeneral speed: DroidCast_raw >> aScreenCap_nc > ADB_nc >>> aScreenCap > uiautomator2 ~= ADB.\nRun Tools - Performance Test to find the fastest method.",
"auto": "auto", "auto": "Auto-select the fastest",
"ADB": "ADB", "ADB": "ADB ",
"ADB_nc": "ADB_nc", "ADB_nc": "ADB_nc",
"uiautomator2": "uiautomator2", "uiautomator2": "uiautomator2",
"aScreenCap": "aScreenCap", "aScreenCap": "aScreenCap",
@ -98,127 +98,127 @@
"scrcpy": "scrcpy" "scrcpy": "scrcpy"
}, },
"ControlMethod": { "ControlMethod": {
"name": "Emulator.ControlMethod.name", "name": "Control Method",
"help": "Emulator.ControlMethod.help", "help": "Speed: MaaTouch = minitouch >>> uiautomator2 ~= ADB\nMaaTouch is recommended",
"minitouch": "minitouch", "minitouch": "minitouch",
"MaaTouch": "MaaTouch" "MaaTouch": "MaaTouch"
}, },
"AdbRestart": { "AdbRestart": {
"name": "Emulator.AdbRestart.name", "name": "Try to restart adb when no device found",
"help": "Emulator.AdbRestart.help" "help": ""
} }
}, },
"EmulatorInfo": { "EmulatorInfo": {
"_info": { "_info": {
"name": "EmulatorInfo._info.name", "name": "Emulator Settings",
"help": "EmulatorInfo._info.help" "help": "The following values are auto-filled according to \"Serial\", if you dont understand, please don't modify them"
}, },
"Emulator": { "Emulator": {
"name": "EmulatorInfo.Emulator.name", "name": "Emulator Type",
"help": "EmulatorInfo.Emulator.help", "help": "",
"auto": "auto", "auto": "Auto-detect",
"NoxPlayer": "NoxPlayer", "NoxPlayer": "Nox Player",
"NoxPlayer64": "NoxPlayer64", "NoxPlayer64": "Nox Player 64bit",
"BlueStacks4": "BlueStacks4", "BlueStacks4": "BlueStacks 4",
"BlueStacks5": "BlueStacks5", "BlueStacks5": "BlueStacks 5",
"BlueStacks4HyperV": "BlueStacks4HyperV", "BlueStacks4HyperV": "BlueStacks 4 Hyper-V",
"BlueStacks5HyperV": "BlueStacks5HyperV", "BlueStacks5HyperV": "BlueStacks 5 Hyper-V",
"LDPlayer3": "LDPlayer3", "LDPlayer3": "LD Player 3",
"LDPlayer4": "LDPlayer4", "LDPlayer4": "LD Player 4",
"LDPlayer9": "LDPlayer9", "LDPlayer9": "LD Player 9",
"MuMuPlayer": "MuMuPlayer", "MuMuPlayer": "MuMu Player",
"MuMuPlayerX": "MuMuPlayerX", "MuMuPlayerX": "MuMu Player X",
"MuMuPlayer12": "MuMuPlayer12", "MuMuPlayer12": "MuMu Player 12",
"MEmuPlayer": "MEmuPlayer" "MEmuPlayer": "MEmu Player"
}, },
"name": { "name": {
"name": "EmulatorInfo.name.name", "name": "Emulator Instance Name",
"help": "EmulatorInfo.name.help" "help": ""
}, },
"path": { "path": {
"name": "EmulatorInfo.path.name", "name": "Emulator Installation Path",
"help": "EmulatorInfo.path.help" "help": ""
} }
}, },
"Error": { "Error": {
"_info": { "_info": {
"name": "Error._info.name", "name": "Debug Settings",
"help": "Error._info.help" "help": ""
}, },
"Restart": { "Restart": {
"name": "Error.Restart.name", "name": "Restart Game on Error",
"help": "Error.Restart.help", "help": "",
"game": "game", "game": "Restart game",
"game_emulator": "game_emulator" "game_emulator": "Restart emulator and game"
}, },
"SaveError": { "SaveError": {
"name": "Error.SaveError.name", "name": "Record Exception",
"help": "Error.SaveError.help" "help": "Records exception and log into directory for review or sharing"
}, },
"ScreenshotLength": { "ScreenshotLength": {
"name": "Error.ScreenshotLength.name", "name": "Record Screenshot(s)",
"help": "Error.ScreenshotLength.help" "help": "Number of screenshots saved when exception occurs"
}, },
"OnePushConfig": { "OnePushConfig": {
"name": "Error.OnePushConfig.name", "name": "Error notify config",
"help": "Error.OnePushConfig.help" "help": "When AAS cannot handle exception, send a message through Onepush. Configuration document: \nhttps://github.com/LmeSzinc/AzurLaneAutoScript/wiki/Onepush-configuration-%5BEN%5D"
} }
}, },
"Optimization": { "Optimization": {
"_info": { "_info": {
"name": "Optimization._info.name", "name": "Optimization Settings",
"help": "Optimization._info.help" "help": ""
}, },
"ScreenshotInterval": { "ScreenshotInterval": {
"name": "Optimization.ScreenshotInterval.name", "name": "Take Screenshots Every X Second(s)",
"help": "Optimization.ScreenshotInterval.help" "help": "Minimum interval between 2 screenshots, limited in 0.1 ~ 0.3, can help reduce CPU on high-end PCs"
}, },
"CombatScreenshotInterval": { "CombatScreenshotInterval": {
"name": "Optimization.CombatScreenshotInterval.name", "name": "Take Screenshots Every X Second(s) In Combat",
"help": "Optimization.CombatScreenshotInterval.help" "help": "Minimum interval between 2 screenshots, limited in 0.1 ~ 1.0, can help reduce CPU during battle"
}, },
"WhenTaskQueueEmpty": { "WhenTaskQueueEmpty": {
"name": "Optimization.WhenTaskQueueEmpty.name", "name": "When Task Queue is Empty",
"help": "Optimization.WhenTaskQueueEmpty.help", "help": "Close AL when there are no pending tasks, can help reduce CPU",
"stay_there": "stay_there", "stay_there": "Stay There",
"goto_main": "goto_main", "goto_main": "Goto Main Page",
"close_game": "close_game" "close_game": "Close Game"
} }
}, },
"Cafe": { "Cafe": {
"_info": { "_info": {
"name": "Cafe._info.name", "name": "Cafe Settings",
"help": "Cafe._info.help" "help": ""
}, },
"Reward": { "Reward": {
"name": "Cafe.Reward.name", "name": "Claim Reward",
"help": "Cafe.Reward.help" "help": ""
}, },
"Touch": { "Touch": {
"name": "Cafe.Touch.name", "name": "Student Interaction",
"help": "Cafe.Touch.help" "help": "Auto detect intractable student and click"
}, },
"AutoAdjust": { "AutoAdjust": {
"name": "Cafe.AutoAdjust.name", "name": "Interface Auto Adjustment",
"help": "Cafe.AutoAdjust.help" "help": "Auto adjust cafe interface for better student interaction"
}, },
"SecondCafe": { "SecondCafe": {
"name": "Cafe.SecondCafe.name", "name": "Second Cafe",
"help": "Cafe.SecondCafe.help" "help": "Enable auto switch to second cafe and perform interaction"
} }
}, },
"TacticalChallenge": { "TacticalChallenge": {
"_info": { "_info": {
"name": "TacticalChallenge._info.name", "name": "Tactical Challenge Settings",
"help": "TacticalChallenge._info.help" "help": ""
}, },
"PlayerSelect": { "PlayerSelect": {
"name": "TacticalChallenge.PlayerSelect.name", "name": "Select Player",
"help": "TacticalChallenge.PlayerSelect.help", "help": "",
"0": "0", "0": "Random",
"1": "1", "1": "First",
"2": "2", "2": "Second",
"3": "3" "3": "Third"
} }
}, },
"ItemStorage": { "ItemStorage": {
@ -227,118 +227,118 @@
"help": "ItemStorage._info.help" "help": "ItemStorage._info.help"
}, },
"AP": { "AP": {
"name": "ItemStorage.AP.name", "name": "AP",
"help": "ItemStorage.AP.help" "help": ""
}, },
"Credit": { "Credit": {
"name": "ItemStorage.Credit.name", "name": "Credit",
"help": "ItemStorage.Credit.help" "help": ""
}, },
"Pyroxene": { "Pyroxene": {
"name": "ItemStorage.Pyroxene.name", "name": "Pyroxene",
"help": "ItemStorage.Pyroxene.help" "help": ""
} }
}, },
"Gui": { "Gui": {
"Aside": { "Aside": {
"Install": "Gui.Aside.Install", "Install": "Install",
"Home": "Gui.Aside.Home", "Home": "Home",
"Develop": "Gui.Aside.Develop", "Develop": "Develop",
"Performance": "Gui.Aside.Performance", "Performance": "Perf.",
"Setting": "Gui.Aside.Setting", "Setting": "Settings",
"AddAlas": "Gui.Aside.AddAlas" "AddAlas": "Add"
}, },
"Button": { "Button": {
"Start": "Gui.Button.Start", "Start": "Start",
"Stop": "Gui.Button.Stop", "Stop": "Stop",
"ScrollON": "Gui.Button.ScrollON", "ScrollON": "Auto Scroll ON",
"ScrollOFF": "Gui.Button.ScrollOFF", "ScrollOFF": "Auto Scroll OFF",
"ClearLog": "Gui.Button.ClearLog", "ClearLog": "Clear Log",
"Setting": "Gui.Button.Setting", "Setting": "Setting",
"CheckUpdate": "Gui.Button.CheckUpdate", "CheckUpdate": "Check update",
"ClickToUpdate": "Gui.Button.ClickToUpdate", "ClickToUpdate": "Click to update",
"RetryUpdate": "Gui.Button.RetryUpdate", "RetryUpdate": "Retry update",
"CancelUpdate": "Gui.Button.CancelUpdate" "CancelUpdate": "Cancel update"
}, },
"Toast": { "Toast": {
"DisableTranslateMode": "Gui.Toast.DisableTranslateMode", "DisableTranslateMode": "Click here to disable translate mode",
"ConfigSaved": "Gui.Toast.ConfigSaved", "ConfigSaved": "Config saved",
"AlasIsRunning": "Gui.Toast.AlasIsRunning", "AlasIsRunning": "Scheduler is already running",
"ClickToUpdate": "Gui.Toast.ClickToUpdate" "ClickToUpdate": "New update available, click here to update"
}, },
"Status": { "Status": {
"Running": "Gui.Status.Running", "Running": "Running",
"Inactive": "Gui.Status.Inactive", "Inactive": "Inactive",
"Warning": "Gui.Status.Warning", "Warning": "Warning",
"Updating": "Gui.Status.Updating" "Updating": "Waiting Update"
}, },
"MenuAlas": { "MenuAlas": {
"Overview": "Gui.MenuAlas.Overview", "Overview": "Overview",
"Log": "Gui.MenuAlas.Log" "Log": "Logs"
}, },
"MenuDevelop": { "MenuDevelop": {
"HomePage": "Gui.MenuDevelop.HomePage", "HomePage": "Home",
"Translate": "Gui.MenuDevelop.Translate", "Translate": "Translate",
"Update": "Gui.MenuDevelop.Update", "Update": "Updater",
"Remote": "Gui.MenuDevelop.Remote", "Remote": "Remote access",
"Utils": "Gui.MenuDevelop.Utils" "Utils": "Utils"
}, },
"Overview": { "Overview": {
"Scheduler": "Gui.Overview.Scheduler", "Scheduler": "Scheduler",
"Log": "Gui.Overview.Log", "Log": "Log",
"Running": "Gui.Overview.Running", "Running": "Running",
"Pending": "Gui.Overview.Pending", "Pending": "Pending",
"Waiting": "Gui.Overview.Waiting", "Waiting": "Waiting",
"NoTask": "Gui.Overview.NoTask" "NoTask": "No Task"
}, },
"Dashboard": { "Dashboard": {
"NoData": "Gui.Dashboard.NoData", "NoData": "no data",
"TimeError": "Gui.Dashboard.TimeError", "TimeError": "time error",
"JustNow": "Gui.Dashboard.JustNow", "JustNow": "just now",
"MinutesAgo": "Gui.Dashboard.MinutesAgo", "MinutesAgo": "{time}min ago",
"HoursAgo": "Gui.Dashboard.HoursAgo", "HoursAgo": "{time}h ago",
"DaysAgo": "Gui.Dashboard.DaysAgo", "DaysAgo": "{time}d ago",
"LongTimeAgo": "Gui.Dashboard.LongTimeAgo" "LongTimeAgo": "long time ago"
}, },
"AddAlas": { "AddAlas": {
"PopupTitle": "Gui.AddAlas.PopupTitle", "PopupTitle": "Add new config",
"NewName": "Gui.AddAlas.NewName", "NewName": "New name",
"CopyFrom": "Gui.AddAlas.CopyFrom", "CopyFrom": "Copy from existing config",
"Confirm": "Gui.AddAlas.Confirm", "Confirm": "Add",
"FileExist": "Gui.AddAlas.FileExist", "FileExist": "A config with the same name exists, please choose another one",
"InvalidChar": "Gui.AddAlas.InvalidChar", "InvalidChar": "Config name cannot contain any of the following characters: .\\/:*?\"<>|",
"InvalidPrefixTemplate": "Gui.AddAlas.InvalidPrefixTemplate" "InvalidPrefixTemplate": "Config name cannot start with 'template'"
}, },
"Update": { "Update": {
"UpToDate": "Gui.Update.UpToDate", "UpToDate": "Latest version",
"HaveUpdate": "Gui.Update.HaveUpdate", "HaveUpdate": "A new version is available",
"UpdateStart": "Gui.Update.UpdateStart", "UpdateStart": "Start update",
"UpdateWait": "Gui.Update.UpdateWait", "UpdateWait": "Waiting for all AAS complete current task",
"UpdateRun": "Gui.Update.UpdateRun", "UpdateRun": "Updating",
"UpdateSuccess": "Gui.Update.UpdateSuccess", "UpdateSuccess": "Update succeeded, restarting",
"UpdateFailed": "Gui.Update.UpdateFailed", "UpdateFailed": "Update failed. Logs can be found in ./log/*_gui.txt",
"UpdateChecking": "Gui.Update.UpdateChecking", "UpdateChecking": "Checking for updates",
"UpdateCancel": "Gui.Update.UpdateCancel", "UpdateCancel": "Update canceled, restarting AAS",
"UpdateFinish": "Gui.Update.UpdateFinish", "UpdateFinish": "Update succeeded, please restart manually",
"Local": "Gui.Update.Local", "Local": "Local",
"Upstream": "Gui.Update.Upstream", "Upstream": "Upstream",
"Author": "Gui.Update.Author", "Author": "Author",
"Time": "Gui.Update.Time", "Time": "Commit time",
"Message": "Gui.Update.Message", "Message": "Commit message",
"DisabledWarn": "Gui.Update.DisabledWarn", "DisabledWarn": "Updater module is disabled. You need to manually restart AAS to update",
"DetailedHistory": "Gui.Update.DetailedHistory" "DetailedHistory": "Detailed Commit History"
}, },
"Remote": { "Remote": {
"Running": "Gui.Remote.Running", "Running": "Remote access on",
"NotRunning": "Gui.Remote.NotRunning", "NotRunning": "Not running, server disconnected or offline",
"NotEnable": "Gui.Remote.NotEnable", "NotEnable": "Disabled, set webui password in deploy.yaml and enable remote access",
"EntryPoint": "Gui.Remote.EntryPoint", "EntryPoint": "Entry point:",
"ConfigureHint": "Gui.Remote.ConfigureHint", "ConfigureHint": "Configuration tutorial:",
"SSHNotInstall": "Gui.Remote.SSHNotInstall" "SSHNotInstall": "No SSH command in your system. Please refer to the tutorial to download or install one"
}, },
"Text": { "Text": {
"InvalidFeedBack": "Gui.Text.InvalidFeedBack", "InvalidFeedBack": "Invalid format. Example: {0}",
"Clear": "Gui.Text.Clear" "Clear": "Clear"
} }
} }
} }

View File

@ -313,19 +313,19 @@
"UpToDate": "已是最新版本", "UpToDate": "已是最新版本",
"HaveUpdate": "有新版本可用", "HaveUpdate": "有新版本可用",
"UpdateStart": "开始更新", "UpdateStart": "开始更新",
"UpdateWait": "等待所有 Alas 完成当前任务", "UpdateWait": "等待所有 AAS 完成当前任务",
"UpdateRun": "更新中", "UpdateRun": "更新中",
"UpdateSuccess": "更新成功,正在重启", "UpdateSuccess": "更新成功,正在重启",
"UpdateFailed": "更新失败,可在./log/*_gui.txt中找到错误日志", "UpdateFailed": "更新失败,可在./log/*_gui.txt中找到错误日志",
"UpdateChecking": "检查更新中", "UpdateChecking": "检查更新中",
"UpdateCancel": "取消更新,重启 Alas 中", "UpdateCancel": "取消更新,重启 AAS 中",
"UpdateFinish": "更新成功,请手动重启", "UpdateFinish": "更新成功,请手动重启",
"Local": "本地", "Local": "本地",
"Upstream": "上游仓库", "Upstream": "上游仓库",
"Author": "作者", "Author": "作者",
"Time": "提交时间", "Time": "提交时间",
"Message": "提交信息", "Message": "提交信息",
"DisabledWarn": "更新模块未启用,你需要手动重启 Alas 进行更新", "DisabledWarn": "更新模块未启用,你需要手动重启 AAS 进行更新",
"DetailedHistory": "详细提交历史" "DetailedHistory": "详细提交历史"
}, },
"Remote": { "Remote": {

View File

@ -27,9 +27,9 @@ DAILY_REWARD = ButtonWrapper(
name='DAILY_REWARD', name='DAILY_REWARD',
jp=Button( jp=Button(
file='./assets/jp/base/popup/DAILY_REWARD.png', file='./assets/jp/base/popup/DAILY_REWARD.png',
area=(854, 117, 1008, 165), area=(416, 165, 434, 216),
search=(834, 97, 1028, 185), search=(396, 145, 454, 236),
color=(178, 167, 112), color=(203, 227, 237),
button=(920, 632, 1140, 712), button=(920, 632, 1140, 712),
), ),
) )
@ -73,3 +73,13 @@ NETWORK_RECONNECT = ButtonWrapper(
button=(663, 467, 870, 537), button=(663, 467, 870, 537),
), ),
) )
NETWORK_RECONNECT_OK = ButtonWrapper(
name='NETWORK_RECONNECT_OK',
jp=Button(
file='./assets/jp/base/popup/NETWORK_RECONNECT_OK.png',
area=(744, 487, 791, 515),
search=(724, 467, 811, 535),
color=(91, 165, 196),
button=(665, 468, 870, 536),
),
)

View File

@ -65,6 +65,8 @@ class PopupHandler(ModuleBase):
def handle_network_reconnect(self, interval=5) -> bool: def handle_network_reconnect(self, interval=5) -> bool:
if self.appear_then_click(NETWORK_RECONNECT, interval=interval): if self.appear_then_click(NETWORK_RECONNECT, interval=interval):
return True return True
if self.appear_then_click(NETWORK_RECONNECT_OK, interval=interval):
return True
return False return False