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.

Sahi pro - PhantomJS playback export to HAR files

orexorex Members
edited December 2013 in Sahi Pro
Hello.

I'm usually make the playback of the sahi scripts with phantomjs.
In one of the many examples that come with phantomjs, these is a script (netsniff.js) that exports the current network requests in HAR format.

I tried to edit the file "sahi.js" that is passed as argument to phantomjs, but I do not get the desired result.
The export shows only a couple of request to the sahi player like this one

http://sahi.example.com/_s_/dyn/Player_auto?startUrl=http://www.google.com/__SahiAmpersandSahi__sahisid=sahi_011451960a97f048b4091d60437ec88acb1esahix963fe75e007740427a0b4480b94f05aa4a50x__SahiAmpersandSahi__isSingleSession=false

Is there a way to allow the export of the network requests with phantomjs?

Thank you very much

Answers

  • No one has any clue?
    That feature should be very handy...
Sign In or Register to comment.