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

Chimp.js Chromedriver version configuration not being applied #112

Open
samhatoum opened this issue Jul 21, 2018 · 2 comments
Open

Chimp.js Chromedriver version configuration not being applied #112

samhatoum opened this issue Jul 21, 2018 · 2 comments
Labels

Comments

@samhatoum
Copy link
Contributor

Issue by Windso
Friday Apr 20, 2018 at 18:19 GMT
Originally opened as xolvio/chimp#686


From my chimp.js configuration file

// - - - - SELENIUM-STANDALONE
    seleniumStandaloneOptions: {
        drivers: {
            chrome: {
                version: '2.37'
            }
        }
    },

but when running npm install, the latest version of Chromedriver is installed rather than the version I specified. How can I choose to install a specific version of Chromedriver?

@samhatoum
Copy link
Contributor Author

Comment by Windso
Friday Apr 20, 2018 at 18:19 GMT


@samhatoum

@samhatoum
Copy link
Contributor Author

Comment by xywang68
Wednesday May 09, 2018 at 17:13 GMT


@windso , to install different versions of selenium and drivers, you can modify the lib/default-config.js file in your selenium-standalone module. The module is either inside your base node_modules/ if you installed it as your base module, or inside chimp's node_modules/ as its dependency.
After that, you can run "selenium-standalone install" to get them installed.
Without updating the default-config.js file, you can provide your own config.js and do "selenium-standalone install --config=<path to your config.js>".
obvious you need to provide full path to selenium-standalone script. Normally it is in node_modules/.bin if you install it yourself, or inside chimp/node_modules if it is installed as a chimp-js dependency.
Hope this information helps.

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

No branches or pull requests

1 participant