Get Current URL
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Browser Element Name. It instructs the Avo Assure Client to retrieve the current webpage's URL and save the result in the given output variable. By retrieving the current URL, you can ensure that users are being directed to the right page.
Input: N/A
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
User is testing a web application and need to ensure that after navigating or performing an action (e.g., clicking a link or submitting a form), the browser is directed to the correct URL. The Get Current URL Action allows you to retrieve the URL of the current page.
This Action needs to retrieve the current web page URL and should store it in the Output Variable.
The Get Current URL Action is fetching the URL of the current page and save it in the {result} Output Variable as https://www.example.com/contact, which can be utilized for display or other purposes.