But I still am trying to figure out how I can run my node chrome browser with the profile that has this extension already installed instead of sending this over the grid. See below my code:
________________WIKI CODE____________________________________________________________________
Or to load with a specific profile (note that the default profile directories can be found here):
DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setCapability("chrome.switches", Arrays.asList("--user-data-dir=/path/to/profile/directory"));
WebDriver driver = new ChromeDriver(capabilities);
__________________________________________________________________________________________________
________________________________My code__________________________________________________________
_chroptions.AddArguments(@"--user-data-dir= C:\Users\Administrator\AppData\Local\Google\Chrome\User Data\Default");
_____________________________________________________________________________________________________
But this causes the Chrome browser on the node to crash. I am not sure if I am doing this correctly .. or if i am missing something. Any input is appreciated.