fysh711426 / UndetectedChromeDriver

GNU General Public License v3.0
172 stars 65 forks source link

I use the call to the extension directory 2, but it doesn't work #13

Open vudonblog opened 2 years ago

vudonblog commented 2 years ago

I use the call to the extension directory 2, but it doesn't work it only shows extension1 you can check again options.AddArguments("--load-extension=" + pathextension1, pathextension2);

fysh711426 commented 2 years ago

Works fine.

var extension1 = @"D:\ChromeExtensions\extension1";
var extension2 = @"D:\ChromeExtensions\extension2";
options.AddArgument($"--load-extension={extension1},{extension2}");

Change AddArguments to AddArgument.

GodStar88 commented 2 years ago

Thank you for your message. I can't add crx image image

fysh711426 commented 2 years ago

@GodStar88 To unzip, use directory path. https://github.com/fysh711426/UndetectedChromeDriver/issues/9#issuecomment-1159780698