Hi Mahesh,
Please follow below steps.
1) Add "Generic Object Action" from toolbox to your script.
2) Select the object (in your case select the url which you want to capture).
3) Change Action from "Click" to "Get Property"
4) Select "visible Text" from Property arguments
5) Define the variabel name "xyz" (where you will get your url)
6) Run the step and parse variable wherever you required.
I hope this clarify you concern.
Please find attached document for better understanding.
Regards,
Deepak