Getting URL of current page


This should be a pretty simple one.
How can I extract the URL of a current webpage into a variable?
Thanks a lot!


There’s an internal variable already built in to grab the current url, it’s just !URL.


Thank you.
Is that how it’s supposed to look?

Because this is giving me a funny error :
“timeout reached when looking for element '
I am clearly doing something wrong with the syntax


Just “store”, not “storeText”.
But as an alternative you can always use storeEval | window.location.href | whatever