Skip to content

Instantly share code, notes, and snippets.

@eliasnogueira
Created June 16, 2020 18:10
Show Gist options
  • Save eliasnogueira/a23534f1e1ddd5baa629b145354370b3 to your computer and use it in GitHub Desktop.
Save eliasnogueira/a23534f1e1ddd5baa629b145354370b3 to your computer and use it in GitHub Desktop.
Code snippet to set the headless mode on Google Chrome test execution using the Selenium WebDriver Java library
ChromeOptions options = new ChromeOptions();
options.setHeadless(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment