Hi guys,
Hope you are doing well!
I discovered an issue with chromedriver to arise when invoking the .SendKeys() function on a headless chrome. The headless mode works good btw.
How I do pass the --headless option
chrCaps := chrome.Capabilities{
Args: []string{
"--window-size=1200,1100",
"--headless",
"--no-sandbox",
},
W3C: true,
}
caps.AddChrome(chrCaps)
wd, err := selenium.NewRemote(caps, fmt.Sprintf("http://localhost:%d/wd/hub", port))
if err != nil {
panic(err)
}
Environment
Chrome: 81.0.4044.138
Everything works well without using the headless mode by the way.
Hi guys,
Hope you are doing well!
I discovered an issue with chromedriver to arise when invoking the
.SendKeys()function on a headless chrome. The headless mode works good btw.How I do pass the --headless option
Environment
Chrome: 81.0.4044.138
Everything works well without using the headless mode by the way.