selenium-standalone icon indicating copy to clipboard operation
selenium-standalone copied to clipboard

[Error: Another Selenium process is already running]

Open zhangmeng712 opened this issue 11 years ago • 1 comments

I've installed selenium-standalone through "npm install -g selenium-standalone" , but now I need to start server programmaticly, So I installed locally "npm install selenium-standalone" and wrote start.js like followings: var selenium = require('selenium-standalone'); selenium.start({ seleniumArgs:['-port', '5555'] },function(err, child) { child.stderr.on('data', function(data){ console.log(data.toString()); }); }); but when I executed node start.js the console showed [Error: Another Selenium process is already running] I've checked the ps aux|grep selenium but no process pid returned I don't know why? I tried pkill -f selenium-standalone but it not working

zhangmeng712 avatar Oct 31 '15 09:10 zhangmeng712

Check https://github.com/vvo/selenium-standalone/issues/140

vvo avatar Nov 03 '15 13:11 vvo