Explore the Chrome DevTools Protocol, its methods, events and basic documentation.
More: DevTools Protocol repo and published devtools protocol viewer
# install dependencies
npm i
# regenerate the protocol files
npm run prep
# build it
npm run build
# serve it locally
npm run serve
We deploy to https://chromedevtools.github.io/devtools-protocol/ despite the source living here. The repo/branch layout is described here. There is no need to manually trigger deployments. It’s done automatically as part of the devtools-protocol GitHub Actions workflow.
FYI: The protocol files here in debugger-protocol-viewer#master
don't get updated. A deployment writes to the devtools-protocol#ghpages
branch.
To add a new protocol version:
pages/_data/versions.json
pages/_data/VERSION_SLUG.json
_versions/VERSION_SLUG.html
file with protocol version description<div id="versions">
tag in pages/_includes/shell.hbs
.Run npm run prep
then node generate-sidenav-html.js
and add into <div id="domains">
in pages/_includes/shell.hbs
.
Apache
Pull requests very welcome!