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 with phantom JS - Not able to run my own scripts headless

petemcleanpetemclean Members
edited August 2014 in Sahi Pro
Using mac for this issue.
I have followed your guide to running the scripts headless using the demos that are provided.
BUT when I try and run my own scripts nothing happens !
It stops running after 150 (so says the logs)

When I select the phantom js option in the browser list I then wait for the terminal to pop up, I then try the following command:
bash testrunner.sh myscript.sah http://myuatsite.biz phantomjs
It then begns and then nothing it looks like its running but it isnt. And then like I said, stops after 150 seconds.
I have ran the script in browser and works fine, just headless it wont do it.

Do I have to amend the testrunner.sh file to get things working ?
Currently at a loss here, any help would be appreciated!
cheers!

Answers

  • Seems like Sahi can only works with phantomjs 1.7 and below.
    Try that.

    At least it works for me. (1.8 and 1.9 not working)
  • Seems like Sahi can only works with phantomjs 1.7 and below.
    Try that.

    At least it works for me. (1.8 and 1.9 not working)
  • Seems like Sahi can only works with phantomjs 1.7 and below.
    Try that.
Sign In or Register to comment.