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

is it possible to add capabilities args through command line? #3108

Open
jurec72 opened this issue Apr 3, 2023 · 0 comments
Open

is it possible to add capabilities args through command line? #3108

jurec72 opened this issue Apr 3, 2023 · 0 comments

Comments

@jurec72
Copy link

jurec72 commented Apr 3, 2023

Hi,
do we have the option to add args through the command line? Looking to add "headless=new" to args through the command line. Before we can do that through 'headless.mode' env variable. But right now 'headless.mode' is deprecated.

Tools I use: Maven, Java, Serenity.

Serenity version: 3.6.22

I set up serenity.conf this way:
webdriver { capabilities { "goog:chromeOptions" { args = ["headless=new"] } } }

Thank you!!!

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