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

How do you set a custom port? #95

Open
krokhale opened this issue Mar 14, 2014 · 2 comments
Open

How do you set a custom port? #95

krokhale opened this issue Mar 14, 2014 · 2 comments

Comments

@krokhale
Copy link

So this works on the other hacky node phantom package, but not on this package:

phantom.create 
        port: <randomFreePort>
, (ph) ->

But i get something like this:

TypeError: object is not a function

What is the correct way to pass a port option?

Thanks!

@krokhale
Copy link
Author

And i also tried this:

phantom.create null,
    parameters: {port: <randomFreePort>}
, (ph) ->

Now i get

phantom crash: code 0
phantom crash: code 0
phantom stderr: Error: Unknown option: port

@oreporan
Copy link

YES! I need to set a custom port also!!

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

2 participants