Get the current page's URL
Get the current page's 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.