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.

Store URL

vijaysaimsvijaysaims Members
edited November -1 in Sahi - Open Source
Hi

I want to retrieve the URL of a particular webpage and store it in to a variable. Can anyone help me with that?

Comments

  • narayannarayan Administrators
    Hi Vijay,

    Use
    var $url;
    _set($url, window.location.href);
    

    Regards,
    Narayan
  • Your response was very quick. Thanks for that
Sign In or Register to comment.