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

"goog:chromeOptions" not passed to remote driver with maven-failsafe-plugin #3200

Open
hrotkogabor opened this issue Jul 25, 2023 · 1 comment

Comments

@hrotkogabor
Copy link

I have serenity with cucumber on jUnit4, with a test class like this:

@RunWith(CucumberWithSerenity.class)
@CucumberOptions ...

serenity.conf:

  webdriver {
    driver = remote
    remote {
        url = "http://seleniumhost"
        driver = chrome
    }
    capabilities {
        "goog:chromeOptions" {
            args = [ "start-maximized", "disable-dev-shm-usage"
            ...

Following serenity-cucumber-starter pom (without parallel running), when failsafe plugin starts the test, the browser will not get the "goog:chromeOptions" on selenium.

But when I remove maven-failsafe-plugin and unskip maven-surefire-plugin, it will work.

@wakaleo
Copy link
Member

wakaleo commented Jul 27, 2023

Sound's like a maven config issue perhaps - Do you have a sample project to reproduce this?

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