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
Post a Comment