ChromeDriver

Launching Webdriver on Google Chrome custom profile 


String chromeProfile =
ArrayList switches = new ArrayList();
switches.add("--user-data-dir=" + chromeProfile);
capabilities.setCapability("chrome.switches", switches);
driver = new ChromeDriver(capabilities);

By Pavandeep Puddupakkam on December 20, 2011 | WebDriver | A comment?
Tags: , ,