Get Browser Name

This is a pre-built Action located under the @Browser Element, instructs the Avo Assure to get the name of the browser being used during debugging or execution and save the result in the dynamic variable.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value:

Argument
Description

<Dynamic Variable>

(Required)

This variable holds the Browser name

<Dynamic Variable>

(Optional)

This dynamic variable holds the status as True or False

Example

Retrieves the name of the currently running web browser used during execution.

The Get Browser Name action does not take any value in the Input Value column. It fetches the browser name at runtime (e.g., Chrome). The result of the operation is stored in the {BrowserName} variable, while the execution status is stored in the {Result} variable, with the following possible values:

  • True – If the browser name is retrieved successfully.

  • False – If the retrieval fails or an error occurs.

Last updated

Was this helpful?