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

Evaluate browser 'startup.arguments' passed via cmd as multiple arguments #46

Closed
MariusRepo opened this issue Dec 11, 2018 · 1 comment

Comments

@MariusRepo
Copy link

In createChromeDriver() method when multiple arguments are added to chrome options they are added as a single argument regardless of spacing.

Desired behavior would be to pass arguments like in the following example:
-Dweb.browser.driver.startup.arguments="--no-sandbox --disable-dev-shm-usage"

and using this command instead of the existing one:
options.addArguments(this.browserStartupArguments.split("\s+"));

@paveljandejsek
Copy link
Contributor

Fixed by #47

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

No branches or pull requests

2 participants