Screencast Support for Debugging (fixes #43) (#52)

* screencast support (fixes #43):

- add NewWindowPage concurrency mode to support opening new window, and also reusing pages

- add --screencastPort cli options to enable screencasting, uses websockets to stream frames to client

- concurrency: add separate 'window' concurrency for opening new window per-page in same session, useful for screencasting with multiple workers but within same session

* add warning if using screencasting + more than one worker + page context, recommend 'window'

* cleanup: remove debug console, bump py-wacz dependency, improve close message

* README: add screencasting info to README
This commit is contained in:
Ilya Kreymer 2021-06-07 17:43:36 -07:00 committed by GitHub
parent e7d3767efb
commit ae4ce979fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 4111 additions and 3757 deletions

View file

@ -14,9 +14,10 @@
"ioredis": "^4.27.1",
"node-fetch": "^2.6.1",
"puppeteer-cluster": "^0.22.0",
"puppeteer-core": "^5.3.1",
"puppeteer-core": "^8.0.0",
"sitemapper": "^3.1.2",
"uuid": "8.3.2",
"ws": "^7.4.4",
"yargs": "^16.0.3"
},
"devDependencies": {