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

Specify config file

Open kirkstrobeck opened this issue 10 years ago • 2 comments

What is the flag to specify the path to config for install?

kirkstrobeck avatar Sep 23 '16 17:09 kirkstrobeck

Are you looking for something like selenium-standalone install --config=...? That doesn't exist.

You could use the API instead to do something like

var selenium = require('selenium-standalone');
var opts = require('../path/to/my-custom-config.js');

selenium.install(opts, cb);

stephenash avatar Sep 23 '16 18:09 stephenash

The flag is now supported :

selenium-standalone install --config=/path/to/config.json
selenium-standalone start --config=./config/seleniumConfig.js

jucrouzet avatar Jan 16 '17 09:01 jucrouzet