How to configure ChromeOptions using Appian Selenium api library

Hi, 

I'm working with Appian Selenium api library in a Maven project for integrate in jenkins.

I need to set the ChromeOptions to run  browser but I don't now how to do with this library.

I have this code that is how I do with selenium but with Appian selenium doesn't work:

prop=new Properties();
FileInputStream fil=new FileInputStream(".//configs//users.properties");
prop.load(fil);
String user=prop.getProperty("admin.user");
String pass=prop.getProperty("admin.pass");
String url=prop.getProperty("admin.url");
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.setHeadless(true);
chromeOptions.addArguments("--remote-debugging-port=9222");
chromeOptions.addArguments("--no-sandbox");


fixture = new SitesFixture((),chromeOptions);

fixture.setTakeErrorScreenshotsTo(true);
fixture.setupWithBrowser(TEST_BROWSER);

fixture.setAppianUrlTo(url);
fixture.setTimeoutSecondsTo(TEST_TIMEOUT);
fixture.setAppianVersionTo(TEST_SITE_VERSION);
fixture.loginWithUsernameAndPassword(user, pass)

Anybody can help me with this please?

  Discussion posts and replies are publicly visible