Skip to content

Commit

Permalink
Add Page.isClosed()
Browse files Browse the repository at this point in the history
New in Puppeteer 1.5.
  • Loading branch information
zploskey committed Jun 8, 2018
1 parent 88f6f4a commit 6705ec9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Page.re
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 6705ec9

Please sign in to comment.