SYNOPSIS

Starts an AskUI Controller instance.

DESCRIPTION

The AskUI-StartController cmdlet initializes and starts an AskUI Controller with the specified settings, allowing interaction with UI elements.

PARAMETERS

  • -DisplayNum | <Int32> - Select a display to run the AskUI Controller on. Default is 0.
  • -DeviceId | <String> - Select an Android device to run the AskUI Controller against. Note: This parameter can only be used with the runtime set to ‘android’.
  • -Maximize | <SwitchParameter> - Starts the application as a maximized window.
  • -Runtime | <String> - Specifies the runtime environment (‘desktop’ or ‘android’). Default is ‘desktop’.
  • -Port | <Int32> - Defines the web socket server port to connect via the runner protocol. Default is 6769.
  • -ActionWaitTime | <Int32> - Specifies the delay in milliseconds after each action. Default is 1000.
  • -WebSocketHost | <String> - Defines the web socket server host address. Default is ‘127.0.0.1’.
  • -LogFile | <String> - Specifies the output path for generated logs.
  • -ConfigFile | <String> - Absolute file path for the configuration to be loaded.
  • -LogLevel | <String> - Sets the logging level (‘verbose’, ‘debug’, ‘info’, ‘warn’, ‘error’, ‘fatal’). Default is ‘info’.
  • -HideOverlay | <SwitchParameter> - Hides the overlay during execution.
  • -DebugDraw | <SwitchParameter> - Enables debug drawing.
  • -RunInBackground | <SwitchParameter> - Starts the application in background mode.

EXAMPLES

EXAMPLE 1

AskUI-StartController -DisplayNum 1 -Runtime desktop -Maximize
Starts an AskUI Controller on display 1 in maximized mode.