"GET_CURRENT_URL" Command

Description: This command retrieves the current URL and assigns it to a variable.

Usage Scenario: Suppose we want to get the URL of the profile that was logged in on Reference app which shows the profile number.

Procedure: Define steps that log into our Reference app and navigate to the profile and a final step with Get_Current_URL which will retrieve the URL. Your steps will look like this: