Add --ignore-certificate-errors flag to chromium-browser command in integration tests.
This flag fix error messages when running the tests for the first time.pull/554/head
parent
9f2cca1ebf
commit
6792fd5bc3
|
@ -31,6 +31,8 @@ func StartWebDriverWithProxy(proxy string, port int) (*WebDriverSession, error)
|
|||
Path: "/usr/bin/chromium-browser",
|
||||
}
|
||||
|
||||
chromeCaps.Args = append(chromeCaps.Args, "--ignore-certificate-errors")
|
||||
|
||||
if os.Getenv("HEADLESS") != "" {
|
||||
chromeCaps.Args = append(chromeCaps.Args, "--headless")
|
||||
chromeCaps.Args = append(chromeCaps.Args, "--no-sandbox")
|
||||
|
|
Loading…
Reference in New Issue