pusk/lib/json.ml
2023-05-13 15:57:03 +02:00

21 lines
259 B
OCaml

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