[BUG] Failed to load extension (.NET)
See original GitHub issuedoes loading extension still work?
because it seems that its prefixing google chrome path from the actual extension path which makes it fail.
Im getting this error when launching playwright.
---------------------------
Error Loading Extension
---------------------------
Failed to load extension from: C:\Program Files (x86)\Google\Chrome\Application\108.0.5359.125\"D:\Projects\.NET Shared Codes\scraptest2playwrite\scraptest2playwrite\bin\Debug\chrome-extensions\ublock-origin-lite-chrome". Manifest file is missing or unreadable
---------------------------
OK
---------------------------
its prefixing chrome path *C:\Program Files (x86)\Google\Chrome\Application\108.0.5359.125* from my actual extension path.
heres the command line i used in loading;
--disable-extensions-except="D:\Projects\.NET Shared Codes\scraptest2playwrite\scraptest2playwrite\bin\Debug\chrome-extensions\ublock-origin-lite-chrome"
--load-extension="D:\Projects\.NET Shared Codes\scraptest2playwrite\scraptest2playwrite\bin\Debug\chrome-extensions\ublock-origin-lite-chrome"
' lstArgs here contains the command line above;
Dim config As New BrowserTypeLaunchPersistentContextOptions
With config
.Channel = "chrome"
.Locale = "en-US"
.Headless = False
.Devtools = True
.DownloadsPath = Path.GetFullPath(".\chrome-downloads")
.Args = lstArgs
.IgnoreDefaultArgs = {"--disable-extensions"}
.JavaScriptEnabled = True
End With
Dim PL = Playwright.CreateAsync().Result
Dim browser = PL.Chromium.LaunchPersistentContextAsync(Path.GetFullPath(".\chrome-data"), config).Result
Im using .net 4.6.1, and 1.28.0 version of playwright nugget,
anyone?
Issue Analytics
- State:
- Created 9 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Top 7 Ways to Fix Google Chrome Failed to Load Extension
Top 7 Ways to Fix Google Chrome Failed to Load Extension · 1. Restart Google Chrome · 2. Update Extension · 3. Reinstall...
Read more >7 Reasons Why Chrome Fails to Load Extensions and How ...
If you've been experiencing some problems with Chrome extensions, here are seven reasons why Chrome might not be loading them properly.
Read more >Failed to Load Extension From Chrome: How to Fix it
When Chrome failed to load an extension, check them all and remove the problematic one, or reinstall the browser altogether to fix things....
Read more >4 Ways to Fix the “Failed to Load Resource: net
Learn how to fix the "Failed to Load Resource: net::ERR_BLOCKED_BY_CLIENT" error. We'll show you 4 different methods to fix this error.
Read more >How to Fix If Chrome Fails to Load Extensions
How to Fix If Chrome Fails to Load Extensions · Method 1: Reinstall Google Chrome · Method 2: Activate your extensions one-by-one ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes it should work, did you see the error?
Manifest file is missing or unreadable
FINALLY it works… lol case solved. thanks…