Closed msathis closed 7 years ago
Did you see https://github.com/wirepair/gcd/blob/master/gcd.go#L98 ? just pass something like:
var testStartupFlags = []string{"--test-type", "--ignore-certificate-errors", "--allow-running-insecure-content", "--disable-new-tab-first-run", "--no-first-run", "--disable-translate", "--safebrowsing-disable-auto-update", "--disable-component-update", "--safebrowsing-disable-download-protection"}
debugger.AddFlags(testStartupFlags)
My mistake. Thanks for pointing out. :)
For e.x to run headless browser, i want to pass
--headless
argument to chrome binary.