Skip to content

Commit

Permalink
GA: new chrome headless syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneswilm committed Apr 10, 2024
1 parent bcb4545 commit 899a47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const options = new chrome.Options()
if (process.env.CI) { // eslint-disable-line no-process-env
// We are running on CI
wait = 300
options.headless()
options.addArguments("--headless=new")
}
const driver = new webdriver.Builder().withCapabilities(webdriver.Capabilities.chrome()).setChromeOptions(options).build()
driver.manage().window().setRect({width: 1920,
Expand Down

0 comments on commit 899a47c

Please sign in to comment.