Is the phantomjs not working on an app that is using angular ui-view

Jack's Avatar


01 Sep, 2017 11:12 AM

The elements are not appear when I use as below:

casper.then( function () {
        phantomcss.screenshot( '.loginWrapper', 'Get login page' );
        this.echo('get login page...');
    } );
the require print out the div null
<div ui-view=&quot;&quot; class=&quot;main-page ng-scope&quot;></div>

it should be:

<div ui-view="" class="main-page ng-scope" style="">
<div class="loginWrapper ng-scope" ng-controller="loginController as vm">
    <div class="login-panel">
        <div login-form="" ng-hide="vm.showForgotPassword || vm.showTOU"><form name="vm.loginForm" ng-submit="vm.login()" class="ng-pristine ng-valid-email ng-invalid ng-invalid-required" style="">
I tried a hole day with no success, can anyone give me some suggestion? Thanks!

simillar to the question:

  1. Support Staff 1 Posted by Tasos Laskos on 01 Sep, 2017 02:05 PM

    Tasos Laskos's Avatar

    It should work, how does this relate to Arachni though?
    What issue are you having with Arachni?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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