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.
How to Maximize the Window in Sahi
Hi,
I used takescreenshot API to capture image then the running window becomes minimized i need to maximize that window for further execution.Can anyone help me how i ca maximize the window
I used takescreenshot API to capture image then the running window becomes minimized i need to maximize that window for further execution.Can anyone help me how i ca maximize the window
Comments
I use Xdotool (http://www.semicomplete.com/projects/xdotool/#id270064) to maximize the windows. Alternatively, some browsers can be set to start in kiosk mode e.g chrome http://peter.sh/experiments/chromium-command-line-switches/#kiosk
Regards
Wormi
you can try with
to resize the window to the full screen.
Regards,
Theeran.
i m using following code
_takeSnapShots(true);
window.moveTo(0,0);
window.resizeTo(1280,1024);
_takeSnapShots(false);
But unable to resize the window . I need to capture screenshot for the entire window by using takeSnapShots. Can u plz help me.
Regards,
Narmatha