Skip to content

Commit

Permalink
Merge branch 'master' of github.com:levexis/grunt-selenium-webdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Cook committed Oct 10, 2014
2 parents 11a710d + 19c7025 commit c4b6efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/selenium_webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ if ( fs.existsSync( phantomLoc + "/../node_modules/phantomjs/bin/phantomjs") ) {
* @private
*/
function startPhantom ( next, options ) {
phantomProcess = spawn( phantomLoc +'/phantomjs' , [ '--webdriver', options.phantomPort, '--webdriver-selenium-grid-hub=http://' + options.host+':' + options.port ]);

phantomProcess = spawn('node', [phantomLoc +'/phantomjs', '--webdriver=' + options.phantomPort, '--webdriver-selenium-grid-hub=http://' + options.host + ':' + options.port]);

phantomProcess.stderr.setEncoding('utf8');
phantomProcess.stderr.on('data', function(data) {
Expand Down

0 comments on commit c4b6efc

Please sign in to comment.