News for hackers. Stuff that matters.
Re:Introducing chrome.scripting by CyberRabbi on Wednesday June 09, 2021 @01:02AM (#27444391)
I think you’re using the wrong API. For remote automation you should be using the chrome devtools protocol[1]. It is meant for your purposes and gives you full script injection functionality and dom access.

[1]: https://chromedevtools.github.io/devtools-protocol/

Re:Introducing chrome.scripting by Vinnl on Wednesday June 09, 2021 @03:46AM (#27445312)
That's what Puppeteer and Playwright do, and I think that's what they wanted to avoid given

> instead of tons of browser-specific implementation code and a custom automation API.