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
Champion Level 3

Hi,

 

page.URL ?

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

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: