Ask a Question

Is it possible to capture the URL from the brower ?

SOLVED
nedbacan
Frequent Contributor

Is it possible to capture the URL from the brower ?

How can I capture the current URL from a chrome browser?

 

The SPY tool does not allow this.

 

Here is one example http://test.com/testurl/settings/a2b3521f-967c-4c66-8826-677fbd7b8f8f

 

I need to add the ID "a2b3521f-964c66-8826-677fbd7b8f8f" into a variable.

 

The URL is the only place where I can see the ID. 

1 REPLY 1
AlexKaras
Community Hero

Hi,

 

page.URL ?

https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/page/url-property-pag...

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: