Craft Chrome Devtools Protocol (CDP) commands with the new command editor

developer.chrome.com

91 points by keepamovin 10 days ago


nicoburns - 5 hours ago

CDP is a good exmaple of why the ecosystem has converged around Chrome and not Firefox. CDP has:

- Full documentation

- A stable API

- Tooling like this

Firefox has none of that: implementing the firefox devtools protocol means reverse engineering it, and then sometimes it still breaks when Firefox updates!

mihau - 7 hours ago

FYI it's behind a feature flag (aka experiment). Just in case you rarely use experiments in DevTools:

DevTools -> Settings (cog, top right) -> Experiments -> Search for "Protocol Monitor" -> Check the checkbox

giorgioz - 3 hours ago

Can anyone tell me some use cases for CDP commands?

In which situation is preferable to use CDP commands over Puppeteer?

aPoCoMiLogin - 7 hours ago

very nice. there are things that won't show up in the network panel and you had to resort to proxy for debugging, especially when you are using puppeteer/etc for testing.

hackgician - 8 hours ago

So many people building AI browsers definitely had this as an internal tool already lol, nice to see Chrome leaning in here; CDP is a huge pain to write and debug

foofoo12 - 5 hours ago

Very useful. Does anything similar exists for Firefox?

ecolonsmak - 4 hours ago

Is this supported through the chrome dev tools mcp server?

mrasong - 6 hours ago

Awesome, debugging is gonna be way easier from here on out.

vipvip - 5 hours ago

[dead]

vipvip - 5 hours ago

[dead]