Permalink
Browse files

Move Page.url() to FrameBase

  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent 840364d commit 751bfc85eafd779583b70ebd789b1c9a555261f3
Showing with 6 additions and 2 deletions.
  1. +4 −0 src/FrameBase.re
  2. +2 −2 src/Page.re
@@ -48,6 +48,8 @@ external makeSelectorOptions :
selectorOptions =
"";

/* TODO: waitForFunction */

[@bs.send.pipe: t]
external waitForSelector :
(string, ~options: selectorOptions=?, unit) => Js.Promise.t(unit) =
@@ -428,3 +430,5 @@ type typeOptions = {. "delay": float};
external type_ :
(string, string, ~options: typeOptions=?, unit) => Js.Promise.t(unit) =
"type";

[@bs.send] external url : t => string = "";
@@ -311,9 +311,9 @@ external setViewport : (~viewport: viewport) => Js.Promise.t(unit) = "";

[@bs.get] external tracing : t => Tracing.t = "";

[@bs.send] external url : t => string = "";

[@bs.send.pipe: t]
external waitForNavigation :
(~options: Navigation.options) => Js.Promise.t(Response.t) =
"";

/* TODO: workers() */

0 comments on commit 751bfc8

Please sign in to comment.