--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/3cb94fa7-e8f6-4246-91ec-64c94561ce69n%40googlegroups.com.
I tried this in my old Spock 1.3, Selenium 3.14.0, Geb 3.0.1 example project. It seems to work, if I have the right imports in my GebConfig.groovy file and this section for the Chrome browser:
environments {
chrome {
driver = {
WebDriverManager.chromedriver().arch32().setup()
LoggingPreferences logPrefs = new LoggingPreferences()
logPrefs.enable(LogType.BROWSER, Level.ALL)
def options = new ChromeOptions()
options.setCapability(CapabilityType.LOGGING_PREFS, logPrefs)
// Avoid "Chrome is being controlled by automated test software" pop-up
options.addArguments("disable-infobars")
new ChromeDriver(options)
}
}
// other drivers
}