Bring a specific application window to the foreground.
focus-application
command brings a specific application window to the foreground. This ensures that subsequent commands interact with the correct application during a test.
Argument | Type | Description |
---|---|---|
name | string | The name of the application to focus. This should match the application’s display name. |
focus-application
command is useful for multi-application workflows where you need to switch between different apps during a test.