DevTools Protocol API docs—its domains, methods, and events
Clone or download
Latest commit a6d284c Sep 20, 2018
Permalink
Failed to load latest commit information.
.github Create ISSUE_TEMPLATE.md (#75) Mar 30, 2017
_data bump protocol Sep 20, 2018
_versions bump protocol Sep 20, 2018
elements markdown support (#104) Jun 26, 2018
images finalize homepage content w/ local images. May 2, 2017
search_index bump protocol Sep 20, 2018
styles restore drawerContainer styles. dunno where they went. Jan 11, 2018
.editorconfig Indentation/new-line fixes Jun 29, 2015
.gitignore Move bower_components to gitignore (#97) Jan 12, 2018
.nojekyll Fix single page application on github pages Oct 22, 2017
404.html better <title> for 404 page Jan 12, 2018
LICENSE apache 2 license Mar 2, 2015
bower.json Change jekyll configuration to webcomponents Oct 21, 2017
create-search-index.js Fix build process Oct 21, 2017
gulpfile.js Remove unnecessary file Jan 12, 2018
index-imports.html markdown support (#104) Jun 26, 2018
index.html update source locations of protocol files. Apr 9, 2018
make-stable-protocol.js don't mutate Node's representation of tot protocol. Jan 30, 2018
merge-protocol-files.js push w/ spread. Aug 4, 2016
package.json add tip to serve command. Jun 26, 2018
polymer.json Enable registration of the service-worker Jan 12, 2018
prep-tot-protocol-files.sh deploy with gh-pages module. seperate out build scripts. Jan 11, 2018
readme.md readme updates for latest version. Jan 12, 2018
service-worker.js Enable registration of the service-worker Jan 12, 2018
yarn.lock deploy with gh-pages module. seperate out build scripts. Jan 11, 2018

readme.md

devtools-protocol

Explore the Chrome DevTools Protocol, its methods, events and basic documentation.

More: DevTools Protocol repo and published devtools protocol viewer

Building

# install dependencies
yarn

# regenerate the protocol files
yarn prep

# build it
yarn build

# serve it locally
yarn serve

Deploying:

We deploy to https://chromedevtools.github.io/devtools-protocol/ despite the source living here. The repo/branch layout is described here. Master branch of this repo is deployed every hour (on the 15 minute mark) via the devtools-protocol/scripts/update-n-publish-docs.sh script.

yarn deploy

Adding new version

To add a new protocol version:

  1. Modify _data/versions.json
  2. Create _data/VERSION_SLUG folder and put protocol.json file there
  3. Create _versions/VERSION_SLUG.html file with protocol version description
  4. Update the <paper-dropdown-menu id="versions"> tag in index.html.
  5. Build project

Adding new domains

They must be manually added to <div id="drawerToolbar" class="paper-font-title">Domains</div> in index.html.

History

  • v0.1 original Eric Guzman app.
  • v0.2 irish's "upgrades".
  • v0.8 guzman's polymer 0.8 refactor
  • v1.0 konrad's polymer 1.0 + jekyll refactor
  • v2.0 tim's polymer 2.0 - jekyll refactor
  • which brings us to… now.

License

Apache

Contributing

Pull requests very welcome!