0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Yaniv Efraim
aae73f5fd7 feat(worker): implement pageerror event from a worker ()
Fixes 
2018-06-25 15:10:36 -07:00
Joel Einbinder
75ba86f41a
fix: emit all arguments from worker console logs ()
Log.entryAdded doesn't report all the arguments from console logs. This PR switches to use Runtime.consoleAPICalled.

fixes 
2018-06-07 11:21:35 -07:00
Joel Einbinder
2ff0adcad8 feat: worker convenience methods ()
This patch:
- adds `worker.evaluate` and `worker.evaluateHandle` methods as a shortcut to their execution context equivalents.
- makes the error messages a bit nicer when interacting with a closed worker (as opposed to a closed page).
- moves the worker tests into their own spec file.
2018-06-06 20:16:17 -05:00