I have a peculiar problem here. When I open chromeBrowser via chromeDriver the extensions that were previously installed are missing.Also the apps extension is getting deleted from extensions folder(AppData\Local\Google\Chrome\User Data\Default\Extensions).
Now when I open the chrome browser manually, the extension appear on the browser , also the apps folder in extensions folder (AppData\Local\Google\Chrome\User Data\Default\Extensions) no w appears back.
Below is version of chromedriver & browser. chromedriver version :26.0.1383.0 chromebrowser : 26.0.1410.64
You have to install each extension you want to use. In Selenium2 C# API it looks like this
var options = new ChromeOptions();
options.AddExtension(Path.GetFullPath("local/path/to/extension.crx"));
var driver = new ChromeDriver(options);
and the extension will be in the browser. Reference for java can be found here. See this question for how to obtain the .crx file for your extension from the chrome store.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With