Skip to content

Allow launch options as part of Config #33

@ghost

Description

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions