Skip to content
Andrea Cardaci edited this page Nov 23, 2016 · 8 revisions

Synopsis

This wiki is meant to collect the most common use cases and frequently asked questions in order to provide newcomers some boilerplate code to start with, hereafter called recipes. For a detailed API reference refer to the README instead.

All the available recipes will appear in the sidebar.

Recipes format

Each recipes must be placed in a separate Markdown file and adhere to a common format, which is the following:

{description}

```js
const CDP = require('chrome-remote-interface');
{implementation}
```

The code must be able to run as is, that is, it must provide any additional requires and must not rely on external files. Also, it must be valid according to ESLint (find the .eslintrc file in the root of the repository).