java - Loading Chrome Profile Not Working (ChromeDriver) -



java - Loading Chrome Profile Not Working (ChromeDriver) -

i'm trying load chrome profile utilize selenium webdriver doesn't work , defaults new one. tried codes provided here.

is there workaround or fix? i'd run chromedriver customized extensions, options , whatnot since command line flags , chromeoptions have restricted functionality.

also, i'm having issue loading preconfigured extensions.

i had same problem.but did , worked.

string userprofile= "c:/users/"your user"/appdata/local/google/chrome/user"; chromeoptions options = new chromeoptions(); options.addarguments("user-data-dir=" + userprofile); driver = new chromedriver(options);

please allow me know if work you.

java selenium-chromedriver

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -