Open GoogleCodeExporter opened 9 years ago
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Are you trying something like this code ?
ChromeOptions options = new ChromeOptions();
options.addExtensions(new File("/usr/local/google/home/gmanikpure/Downloads/history-search.crx"));
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(ChromeOptions.CAPABILITY, options);
ChromeDriver driver = new ChromeDriver(capabilities);
driver.get("chrome://bookmarks/#q=hi");
If not the above way, can you please provide your test code?
Original comment by gmanikp...@chromium.org
on 24 Mar 2015 at 10:23
I also set a custom profile using the user-data-dir argument but otherwise
that's basically what I did. I say basically because it has been over a year
since I looked at the code and I was using C# rather than Java.
Are you not able to reproduce this issue using the code you posted?
Original comment by locket...@gmail.com
on 25 Mar 2015 at 4:29
as per comment#2 I'm able to add extension and launch successfully
including the user-data-dir argument, please let us know if loading
extension is the only issue you have or there is some other problem you
are facing ?
options.addExtensions(new File("path/to/history-search.crx"));
options.addArguments("user-data-dir=path/to/chrome/Profile5");
Original comment by agau...@chromium.org
on 3 Apr 2015 at 9:50
Original issue reported on code.google.com by
locket...@gmail.com
on 4 Sep 2013 at 7:15Attachments: