Skip to content

Commit

Permalink
Add FAQ entry about Puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-and committed Aug 19, 2017
1 parent 41e647c commit 6e752a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Expand Up @@ -906,6 +906,22 @@ $ chrome-remote-interface inspect
To fix this, just make sure there are no pending promises before closing,
reloading, etc. a page.

### How does this compare to Puppeteer?

[Puppeteer] is an additional high-level API built upon the [Chrome Debugging
Protocol] which, among the other things, may start and use a bundled version of
Chromium instead of the one installed on your system. Use it if its API meets
your needs as it would probably be easier to work with.

chrome-remote-interface instead is just a general purpose 1:1 Node.js binding
for the [Chrome Debugging Protocol]. Use it if you need all the power of the raw
protocol, e.g., to implement your own high-level API.

See [#240] for a more thorough discussion.

[Puppeteer]: https://github.com/GoogleChrome/puppeteer
[#240]: https://github.com/cyrus-and/chrome-remote-interface/issues/240

Contributors
------------

Expand Down

0 comments on commit 6e752a0

Please sign in to comment.