Permalink
Browse files
Move Page.url() to FrameBase
- Loading branch information...
Showing
with
6 additions
and
2 deletions.
-
+4
−0
src/FrameBase.re
-
+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