How do I pass Chrome options in Geb with Selenium?

How do I pass Chrome options in Geb with Selenium?

Hi Yanisleidi!

In order to pass Chrome options in Geb with Selenium, please refer to the below code:

ChromeOptions options = new ChromeOptions();
options.setLogLevel(ChromeDriverLogLevel.DEBUG);
options.addArguments("--Arg1=1");
WebDriver driver = new ChromeDriver(options);
driver.get("https://google.com/");
driver.quit();