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

Trying to run Serenity tests in Firefox headless mode #27

Open
Rosemary-Hawkes opened this issue Jan 28, 2023 · 0 comments
Open

Trying to run Serenity tests in Firefox headless mode #27

Rosemary-Hawkes opened this issue Jan 28, 2023 · 0 comments

Comments

@Rosemary-Hawkes
Copy link

I have a java automation test suite that I am trying to run in headless mode.

My serenity.properties file sets the webdriver as follows:
webdriver.driver=firefox

Where should I set the tests to run in headless mode? I have a serenity.conf file which contains the following:
webdriver.autodownload=false

Would I add a line: headless.mode=true? to this file?

When I run the tests on the command line I use the following command:
mvn clean verify -Dcucumber.tags.filter=@TagName

Would I instead need to specify headless at the command line rather than inside one of the project files?

Thanks in advance.

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