21 lines
259 B
OCaml
21 lines
259 B
OCaml
open Utils
|
|
|
|
let connection_payload =
|
|
{|
|
|
{
|
|
"capabilities": {
|
|
"alwaysMatch": {
|
|
"moz:firefoxOptions": {
|
|
"args": ["-headless"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|}
|
|
;;
|
|
|
|
let navigate_payload url = fmt {|
|
|
{
|
|
"url": "%s"
|
|
}
|
|
|} url
|