Open MarioSimou opened 2 months ago
@MarioSimou your usage looks correct. I suspect your browser doesn't support it. What browser and version are you using, and are you running it in headless mode as well?
@MarioSimou another option is that this is being blocked by security settings, see: https://knowledge.workspace.google.com/kb/load-unpacked-extensions-000005962
I'm using Chrome v127.0.6533.88. Indeed, I'm running on headless mode, but using the --headless=new
flag. Also, I don't think I use google workspace.
Alright, please update to v128 (this was added in protocol version r1289136) and make sure to enable the --enable-unsafe-extension-debugging
flag as per docs: https://pkg.go.dev/github.com/mafredri/cdp#Extensions
Although, considering --remote-debugging-pipe
is mentioned, I'm not sure if that's sufficient.
The error message appears straightforward, but I'm uncertain about what I might be doing wrong. According to the documentation, I should use the absolute path of the extension. Therefore, I’m providing the absolute path to the extension's directory. However, I’m encountering the following error:
cdp.Extensions: LoadUnpacked: rpc error: 'Extensions.loadUnpacked' wasn't found (code = -32601)
. Any idea why? Is there anything that I need to enable?