Skip to main content
Roberty Studio
RPABrowser

Get current page URL

Get current page URL

Gets and returns the full URL of the page currently open in the browser. Useful for checking a navigation, validating a redirect, or keeping the address for later in the automation.


Options​

Browser or page ID​

The browser, tab or iframe opening action whose current URL is read.

Returns​

Javascript code​

js
actions["action-id"].value // the browser's current page URL, in full (Text)

Field selection​

  • value — the browser's current page URL, in full (Text)

Rules and conditions​

  • Browser or page ID is required.
  • The URL includes the current page's protocol, domain, path and query parameters.
  • If the browser is not open, or the session cannot be found, the action ends in an error.