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.

Question about manual page reload command

edited February 2013 in Sahi - Open Source
Does anyone know if there is a script command, that I could insert into my script, to reload my browser/page (using IE 9.0 if it matters)? I've done some searching but couldn't find anything that fits what I need. Please know that I am a NON-developer, so please keep it simple. :) I would prefer something that I could simply cut & paste into my script (if possible).

Thanks so very much in advance.

Andy

Answers

  • I did get a response back from Pratik Shah (thanks by the way), so I wanted to pass it along to the community in case it helps someone else. To manually reload your browser page, simply enter this statement into your script.

    _call("window.location.reload(true)");

    Hope this helps.

    Andy
  • Update, the above statement didn't work for me, but if you remove the quotes, it should work. So the statement should really be:

    _call(window.location.reload(true));

    Sorry for the confusion.

    Andy
  • You can use

    _navigateTo(document.location.href, true) too

    Regards
    Wormi
Sign In or Register to comment.