def restart_miro(self): if self.os_name == "lin": config.start_miro_on_linux() else: App.focus(testsetup.launch_cmd()) try: wait(Pattern("sidebar_top.png").similar(0.6),20) except: pass
def restart_miro(self): if self.os_name == "lin": config.start_miro_on_linux() else: App.open(testsetup.launch_cmd()) wait("Miro", 30)