Skip to content

ph is undefined #131

@zafar-saleem

Description

@zafar-saleem

I am using below code and it returns error as true and ph is undefined.

phantom.create((error, ph) => {
console.log(error); // true
console.log(ph); // undefined
});

Now the thing is that error is true but I am not sure what exactly error is(probably ph is undefined) but I want to know what exactly the error is? How can I debug above very simple code to figure out what exactly is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions