Skip to content

Commit

Permalink
Explicitly set browser mode to headless
Browse files Browse the repository at this point in the history
  • Loading branch information
raphiz committed Jan 2, 2023
1 parent f19732a commit 247c0a0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -21,7 +21,7 @@ class PlaywrightExtension : BeforeAllCallback, BeforeEachCallback,
private fun launchBrowser() {
playwright = Playwright.create()
browser = playwright!!.chromium().launch(
BrowserType.LaunchOptions()
BrowserType.LaunchOptions().setHeadless(true)
)
}

Expand Down

0 comments on commit 247c0a0

Please sign in to comment.