PhantomJS 1.9.2

Frank's Avatar


25 May, 2016 12:00 AM

Does Arachni use PhantomJS 1.9.2? If so, does it require 1.9.2?

Is it possible to upgrade to a later version of PhantomJS?

I'm observing some issues with PhantomJS, and hence Arachni, not working with an application that is using a newer version of AngularJS. Looking at the release notes, PhantomJS 1.9.2 is 3 years old.

  1. Support Staff 1 Posted by Tasos Laskos on 25 May, 2016 05:55 AM

    Tasos Laskos's Avatar

    There are webdriver issues with later versions, 1.9.2 seems to the one working reliably.
    I do plan on checking out v2.1.1 soon though.

    What problem are you observing? I may be able to resolve it using a polyfill to add the missing functionality.

    Btw, have you tried the nightlies?


  2. 2 Posted by Frank on 26 May, 2016 09:51 PM

    Frank's Avatar

    Seeing pages not being rendered. When I check the HTML of the page it appears as:


    or I've seen the login script succeed, but the login check will fail because it can't find the pattern. The pattern is not found because the <div> where it is located is returned empty:

    <div id="main-content" ui-view></div>

    What it should look like is:

    <div id="main-content" class="ng-scope" ui-view="">
    <section class="ng-scope">
    <ui-view class="ng-scope" autoscroll="false">
    <ui-view class="ng-scope" autoscroll="false">
    I've seen these differences when running scripts in PhantomJS 1.9.2, 1.9.8 and 2.1.1 outside of Arachni against this same application.

    I previously tried a nightly with no success.

  3. Support Staff 3 Posted by Tasos Laskos on 27 May, 2016 08:41 AM

    Tasos Laskos's Avatar

    Could you give me access to the web application?

  4. 4 Posted by Frank on 31 May, 2016 02:16 PM

    Frank's Avatar

    I cannot provide access to the web application.

  5. Support Staff 5 Posted by Tasos Laskos on 01 Jun, 2016 04:39 PM

    Tasos Laskos's Avatar

    I can't do much without access, although could it be that you just need the following option?

  6. Tasos Laskos closed this discussion on 03 Aug, 2016 02:26 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac