Skip to content
Andrea Cardaci edited this page Apr 13, 2019 · 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 recipe must be placed in a separate Markdown file identified by a meaningful title.

Code recipes must adhere to a common format:

{description}

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

{implementation}
```

- {optional external reference}...

The code must be able to run as is, that is, it must provide any additional requires and must not rely on external files.