Skip to content

Commit 9fef94a

Browse files
committed
feat(headless): update launcher flags
Signed-off-by: Dwi Siswanto <[email protected]>
1 parent 1019952 commit 9fef94a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/protocols/headless/engine/engine.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ func New(options *types.Options) (*Browser, error) {
5151

5252
chromeLauncher = chromeLauncher.
5353
Leakless(false).
54-
Set("disable-gpu", "true").
55-
Set("ignore-certificate-errors", "true").
56-
Set("ignore-certificate-errors", "1").
57-
Set("disable-crash-reporter", "true").
58-
Set("disable-notifications", "true").
59-
Set("hide-scrollbars", "true").
54+
Set("disable-crash-reporter").
55+
Set("disable-gpu").
56+
Set("disable-notifications").
57+
Set("hide-scrollbars").
58+
Set("ignore-certificate-errors").
59+
Set("ignore-ssl-errors").
60+
Set("incognito").
61+
Set("mute-audio").
6062
Set("window-size", fmt.Sprintf("%d,%d", 1080, 1920)).
61-
Set("mute-audio", "true").
62-
Set("incognito", "true").
6363
Delete("use-mock-keychain").
6464
UserDataDir(dataStore)
6565

0 commit comments

Comments
 (0)