Permalink
Browse files

Add Page.setViewport()

  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent 6852beb commit 7cc7478be2965fbf71724e1b308d43c510fc4859
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Page.re
@@ -307,6 +307,9 @@ external setBypassCSP : (t, ~enabled: bool) => Js.Promise.t(unit) = "";

let setBypassCSP = (~enabled, page) => setBypassCSP(page, ~enabled);

[@bs.send.pipe: t]
external setViewport : (~viewport: viewport) => Js.Promise.t(unit) = "";

[@bs.send.pipe: t]
external tap : (~selector: string) => Js.Promise.t(unit) = "";

0 comments on commit 7cc7478

Please sign in to comment.