Permalink
Browse files

Add Page.isClosed()

New in Puppeteer 1.5.
  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent 88f6f4a commit 6705ec95e462cedeb41cdf0bdaa5a449a7e0be57
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/Page.re
@@ -203,6 +203,8 @@ external goto :
[@bs.send.pipe: t]
external hover : (~selector: string) => Js.Promise.t(unit) = "";

[@bs.send] external isClosed : t => bool = "";

/** The page's virtual keyboard. */
[@bs.get]
external keyboard : t => Keyboard.t = "";

0 comments on commit 6705ec9

Please sign in to comment.