fixing object assignment

dev
mzack 2021-10-18 09:36:22 +02:00
parent c8edd4ce4a
commit 83924e203d
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func New(options *types.Options) (*Browser, error) {
}
browser := rod.New().ControlURL(launcherURL)
browser.MustIgnoreCertErrors(true)
browser = browser.MustIgnoreCertErrors(true)
if browserErr := browser.Connect(); browserErr != nil {
return nil, browserErr
}