public void testSetBrowserExcecutablePathWithValidPath() { String path = "c:\\chrome\\is\\cool.exe with_arg"; BrowserConfigurationOptions bco = new BrowserConfigurationOptions().setBrowserExecutablePath(path); assertTrue(bco.isSet(BrowserConfigurationOptions.BROWSER_EXECUTABLE_PATH)); assertEquals(path, bco.getBrowserExecutablePath()); }