tebeka / selenium

Selenium/Webdriver client for Go
MIT License
2.51k stars 410 forks source link

May I add args on startup? #245

Open ymofen opened 3 years ago

ymofen commented 3 years ago
opts := []selenium.ServiceOption{
    selenium.Output(os.Stderr), // Output debug information to STDERR.
}

   // How can I do this?
opts = append(opts, selenium.StartupArg("--ignore-certificate-errors"))

service, err := selenium.NewChromeDriverServiceEx(chromeDriverPath, port, opts...)