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.

It is possible using Sahi Environment to visit another URL from script

mihaimacariemihaimacarie Members
edited November -1 in Sahi - Open Source
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

Comments

Sign In or Register to comment.