MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / click_confirm

Method click_confirm

tasks/WeeklyTrifles/script_task.py:205–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 :return:
204 """
205 def click_confirm():
206 self.wait_until_appear(self.I_BM_CONFIRM)
207 while 1:
208 self.screenshot()
209 if not self.appear(self.I_BM_CONFIRM):
210 break
211 else:
212 self.appear_then_click(self.I_BM_CONFIRM, interval=1)
213 logger.info('Exit broken amulet')
214
215 logger.hr('Broken amulet')
216 self.ui_get_current_page()

Callers

nothing calls this directly

Calls 4

wait_until_appearMethod · 0.80
appearMethod · 0.80
appear_then_clickMethod · 0.80
screenshotMethod · 0.45

Tested by

no test coverage detected