Skip to main content

Focus Element

Description

Sets the focus to the specified element

Properties

Input

  • Delay After – Delay time, in milliseconds, after executing the activity. By default, it is set to 300 milliseconds.

  • Delay Before – Delay time, in milliseconds, before the activity begins execution. By default, it is set to 200 milliseconds.

  • Search Parameters – Holds the information of the UI element identified through Element Selector.

Misc

  • DisplayName – The display name of the activity.

  • Private – If selected, the variables and argument values will no longer be logged at the Verbose level.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the activity throws an error. If True, the activity continues without throwing any exceptions. If False, the activity throws an exception. The default value is False.

Note: If this activity is present inside the Try-Catch block, and the value of this property is True, no error would be caught.

Example

Download Example

Focus Element