Getting URL of current page


#1

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


#2

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


#3

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


Because this is giving me a funny error :
“timeout reached when looking for element 'https://www.thetimes.co.uk/edition/news/dont-derail-brexit-deal-with-unfair.html
I am clearly doing something wrong with the syntax


#4

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