Get the current URL using Katalon Recorder

I need to get the current URL and store that in a file.
Can anyone help me how to do this using Katalon Recorder?

Thanks in Advance

perhaps with this command:
runScript | return window.location.href | URL
echo | ${URL}
ā€¦
appendToCSV | test.csv | ${URL}

Martin
(from Germany)

1 Like

or with this:
storeLocation(variableName)

Generated from getLocation()

Returns:
the absolute URL of the current page

Gets the absolute URL of the current page.