pywinauto_recorder.player.start_application
- pywinauto_recorder.player.start_application(cmd_line, timeout=10, wait_for_idle=True, main_window_uipath=None)[source]
Starts an application using the specified command line arguments.
- Parameters
cmd_line – The command line to start the application
timeout – timeout (in seconds) of the connection process. Default is 10 seconds.
wait_for_idle – If True, waits for the application o become idle before proceeding. Default is True.
main_window_uipath – The UI path of the main window. This parameter is mandatory if the application has multiple main windows,
starts with a splash screen, or has any intermediate windows else it is optional. :return: UIApplication Returns a UIApplication object representing the started application.