18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

base url on log

dkdk Members
edited November -1 in Sahi - Open Source
How can I get base URL on log [if possible as header in a different color] ?

Comments

  • narayannarayan Administrators
    Adding
    _log(top.location.href, "CUSTOM3");
    as your first line of script, should do that.
  • dkdk Members
    Thanks Narayan. Is it possible to print the base url to Suite log index ? Means without opening individual logs of a suite, one should be able to find the domain name from suite log index itself?
    I have a single suite running against multiple domains (most of them starts at the same time )
Sign In or Register to comment.