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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -