mirror of
https://github.com/astefanutti/decktape.git
synced 2024-12-02 06:35:51 +03:00
Upgrade Puppeteer to version 0.12.0
This commit is contained in:
parent
ac88783908
commit
7c4a609eef
@ -22,7 +22,7 @@
|
||||
"@decktape/fonteditor-core": "^0.0.37-beta.1",
|
||||
"chalk": "^2.1.0",
|
||||
"hummus": "^1.0.82",
|
||||
"puppeteer": "^0.11.0",
|
||||
"puppeteer": "^0.12.0",
|
||||
"urijs": "^1.18.12"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -65,7 +65,7 @@ class Generic {
|
||||
async hasNextSlide() {
|
||||
if (this.options.maxSlides && this.currentSlide >= this.options.maxSlides)
|
||||
return false;
|
||||
await this.page.press(this.key);
|
||||
await this.page.keyboard.press(this.key);
|
||||
// TODO: use mutation event directly instead of relying on a timeout
|
||||
// TODO: detect cycle to avoid infinite navigation for frameworks
|
||||
// that support loopable presentations like impress.js and flowtime.js
|
||||
|
Loading…
Reference in New Issue
Block a user