Skip to content

first time execute ph.createPage , socket.io seems not prepared #110

@zhouseahe

Description

@zhouseahe

first time I run

ph.createPage(function(err,page){
   // no code run here 
});

it didn't work .
I need to execute like this

setTimeout(function(){
    ph.createPage(function(err,page){
    });
},500);
I think 

phantom.create(function(error,ph){
});

callback executed but socket.io not prepared. 

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