Permalink
Browse files

Add slowMo to connectOptions

  • Loading branch information...
zploskey committed Jun 8, 2018
1 parent 35934ac commit b9977cb33c2fe8fb98c8c1a9f257c4d4d33fdd7e
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/Puppeteer.re
@@ -3,11 +3,17 @@ type connectOptions = {
.
"browserWSEndpoint": Js.nullable(string),
"ignoreHTTPSErrors": Js.nullable(bool),
"slowMo": Js.nullable(float),
};

[@bs.obj]
external makeConnectOptions :
(~browserWSEndpoint: string=?, ~ignoreHTTPSErrors: bool=?, unit) =>
(
~browserWSEndpoint: string=?,
~ignoreHTTPSErrors: bool=?,
~slowMo: float=?,
unit
) =>
connectOptions =
"";

0 comments on commit b9977cb

Please sign in to comment.