18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
It is possible using Sahi Environment to visit another URL from script
Hello There!
It is possible using Sahi Environment to visit another URL from script that is running ?
Example:
// User log on to web page:
_setValue(_textbox("username"), "user");
_setValue(_password("password"), "pass");
_click(_spandiv("Log In"));
//User is now on his home page and want to go at www dot google dot com
Using JavaScript: window.location = "www dot google dot com"; it's working, but I don't know how to implement in Sahi.
Thanks,
Mihai
It is possible using Sahi Environment to visit another URL from script that is running ?
Example:
// User log on to web page:
_setValue(_textbox("username"), "user");
_setValue(_password("password"), "pass");
_click(_spandiv("Log In"));
//User is now on his home page and want to go at www dot google dot com
Using JavaScript: window.location = "www dot google dot com"; it's working, but I don't know how to implement in Sahi.
Thanks,
Mihai
Comments
This function is listed on Sahi APIs, but it seems that I skipped over.
Regards,
Mihai