Selenium Chromedriver hace que Chrome se inicie sin complementos configurados, marcadores y otras configuraciones
Soy un nuevo usuario de Selenium. Quiero usarlo para iniciar el navegador Chrome pero tengo un problema.
public static void processor(String url, String name) {
System.setProperty("webdriver.chrome.driver", "C:/Documents and Settings/jingxiong/Local Settings/Application Data/Google/Chrome/Application/chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get(url);
WebElement element = driver.findElement(By.name(name));
element.sendKeys("google");
element.submit();
System.out.println("Page title is: " + driver.getTitle());
driver.quit();
}
Cuando ejecuto este ejemplo, el navegador Chrome se inicia bien, pero sin los complementos configurados, mis configuraciones o marcadores. ¿Qué debo hacer para que cargue estos? Gracias.