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 do I record the browser buttons
What if I want to record the back button of my Browser (Mozilla Firefox) .
Comments
lepierrot is right. There is no way to interact with the browser buttons directly through sahi ( as far as i know
Other workaround can be if you know the url then just use navigateTo() function to go to that url.
Regards,
Pankaj.
Try using this:
window.history.back();
You'll get a lot more milage out of Sahi if you learn how to manipulate the web browser Document Object Model using Javascript:
http://www.w3schools.com/jsref/default.asp
Shall try and get back...
Anupama
Thanks StringyLow for this piece of information. window.history.back() works fine..
Regards,
Pankaj.
I highly recommend W3Schools.com for learning Javascript and the DOM.