I’m trying to make a selenium automation that needs to run multiple Chrome windows at the same time. I attempted using Chrome in headless mode, but since it doesn’t support installing extensions, I need an alternative. So my question is: is there another way to run Chrome without the actual window enabling the use of Extensions?
Asked
Active
Viewed 2,086 times
2

undetected Selenium
- 183,867
- 41
- 278
- 352

Leonardo
- 21
- 2
-
Check out cefsharp, sounds limied on extensions as well, https://stackoverflow.com/questions/59334116/how-to-load-an-extension-in-a-cefsharp-wpf-project – Carter Jun 23 '20 at 21:07
-
It has a headless type which is cefsharp.offscreen – Carter Jun 23 '20 at 21:18
1 Answers
3
Extensions aren't supported in google-chrome-headless.
You can find a detailed discussion in unknown error: failed to wait for extension background page to load: chrome-extension error loading an extension to Chrome Headless using Selenium
Apparently, it seems to be supported by headless firefox

undetected Selenium
- 183,867
- 41
- 278
- 352