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

Allow launch options as part of Config #33

Open
ghost opened this issue Oct 27, 2017 · 1 comment
Open

Allow launch options as part of Config #33

ghost opened this issue Oct 27, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 27, 2017

I have been unable to find a way with the default Conductor setup to pass launch configurations to the browser with the Configs, like one would normally do with the Options classes.

My proposed solution may look something like:

@Config(browser = Browser.CHROME, url="http://ddavison.io/tests/getting-started-with-selenium.htm", options="--headless")

instead of the current solution of:

 ChromeOptions options = new ChromeOptions();
 options.addArguments("--headless");
 WebDriver driver = new ChromeDriver(options);

(I understand that there are already headless webdrivers, this is just a simple example. There are many other launch options that would be useful)

@ghost ghost changed the title Allow launch arguments as part of Config Allow launch options as part of Config Oct 27, 2017
@LordFoom
Copy link

This would be really great.

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

1 participant