Permalink
Browse files

Move Page.tap() to FrameBase

Turns out you can tap in a frame too.
  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent 7cc7478 commit ee135af7ad19018746b969a72d5564df6a742f45
Showing with 3 additions and 3 deletions.
  1. +3 −0 src/FrameBase.re
  2. +0 −3 src/Page.re
@@ -418,3 +418,6 @@ external hover : (~selector: string) => Js.Promise.t(unit) = "";
external select :
(~selector: string, ~values: array(string)) => Js.Promise.t(array(string)) =
"";

[@bs.send.pipe: t]
external tap : (~selector: string) => Js.Promise.t(unit) = "";
@@ -310,9 +310,6 @@ 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) = "";

[@bs.send] external target : t => Types.target = "";

[@bs.send] external title : t => Js.Promise.t(string) = "";

0 comments on commit ee135af

Please sign in to comment.