Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhouseahe opened this issue Jul 16, 2014 · 0 comments
Open

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

zhouseahe opened this issue Jul 16, 2014 · 0 comments

Comments

@zhouseahe
Copy link

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. 
@zhouseahe zhouseahe changed the title Support render option first time execute ph.createPage , socket.io seems not work . Jul 21, 2014
@zhouseahe zhouseahe changed the title first time execute ph.createPage , socket.io seems not work . first time execute ph.createPage , socket.io seems not prepared Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant