cicadabear / puppeteer-tab-capture-repro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Combination with this project making this project a streaming tool to streaming the tab page to a rtmp server.

This is a minimal repository to help with debugging this issue.

How to reproduce the issue?

  1. git clone https://github.com/s16h/puppeteer-tab-capture-repro.git
  2. npm install - the only direct dependency is puppeteer 1.11.0.
  3. node test.js

After running it for the first time, you'll likely get a TypeError: Cannot read property 'page' of undefined error from line 22. That's because of the ID of the extension. While Chromium is open, from chrome://extensions, get the ID of the extension and replace it on line 5 of test.js. Then, run node test.js again.

You should see the following in stdout:

0: JSHandle:Starting to record.
0: JSHandle:Last Error: Requested device not found

About


Languages

Language:Python 68.6%Language:JavaScript 22.1%Language:Shell 4.8%Language:Batchfile 2.6%Language:HTML 1.6%Language:Dockerfile 0.2%