Skip to main content

Refresh Tab

AutomatR.Web.RefreshTab

The "Refresh Tab" activity in AutomatR is designed for UI automation, allowing users to reload the web page currently displayed in the specified browser. This activity ensures that the latest content is fetched from the web server, enabling accurate and up-to-date interactions within the workflow.

Properties

NameDescription
Optional
DelayEnter the wait time in seconds to start the activity. This can be useful for handling synchronization issues or waiting for certain elements to load before refreshing the tab.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.

The "Refresh Tab" activity does not provide direct output. Check the success or failure of the refresh operation based on the context of your workflow or use additional activities as needed.

How to use:

  1. Drag and drop the "Refresh Tab" activity onto the workflow.
  2. Optionally, configure the delay to wait for a specific duration before refreshing the tab.
  3. Execute the workflow to reload the web page in the specified browser.

Example: Consider an example where the "Refresh Tab" activity is used to reload the web page in an open browser:

Refresh Tab:
Display Name: "Reload Web Page"
Delay: 2 (seconds)

In this example, the activity reloads the currently displayed web page in the open browser. The delay of 2 seconds allows time for any required elements to load before the page is refreshed.