Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

There is no posibility to change phantomjs server port from config #6

Open
apyshchyk opened this issue Nov 25, 2014 · 1 comment
Open

Comments

@apyshchyk
Copy link

According to documentation:
You only need to replace this:
var SeleniumServer = require('selenium-webdriver/remote').SeleniumServer;
var server = new SeleniumServer('bin/selenium-server-standalone.jar', { port: 4444 });
server.start();

With this:
var phantom = require('phantomjs-server');
phantom.start();

It's not possible to change phantomjs server port from config because it's hardcoded in index.js

@daxsorbito
Copy link
Contributor

Hi does exports.commandOptions suits your needs? You could override this to your needs.

Please let me know if you think otherwise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants