@browserless.io/browserless 2.29.0 → 2.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -2
- package/build/limiter.js +3 -0
- package/build/routes/chrome/http/content.post.body.json +8 -8
- package/build/routes/chrome/http/pdf.post.body.json +8 -8
- package/build/routes/chrome/http/scrape.post.body.json +8 -8
- package/build/routes/chrome/http/screenshot.post.body.json +8 -8
- package/build/routes/chromium/http/content.post.body.json +8 -8
- package/build/routes/chromium/http/pdf.post.body.json +8 -8
- package/build/routes/chromium/http/scrape.post.body.json +8 -8
- package/build/routes/chromium/http/screenshot.post.body.json +8 -8
- package/build/routes/edge/http/content.post.body.json +8 -8
- package/build/routes/edge/http/pdf.post.body.json +8 -8
- package/build/routes/edge/http/scrape.post.body.json +8 -8
- package/build/routes/edge/http/screenshot.post.body.json +8 -8
- package/build/types.d.ts +1 -0
- package/extensions/ublocklite/_locales/es/messages.json +1 -1
- package/extensions/ublocklite/_locales/sv/messages.json +1 -1
- package/extensions/ublocklite/_locales/vi/messages.json +3 -3
- package/extensions/ublocklite/css/filtering-mode.css +3 -2
- package/extensions/ublocklite/css/popup.css +8 -2
- package/extensions/ublocklite/dashboard.html +1 -0
- package/extensions/ublocklite/js/action.js +22 -32
- package/extensions/ublocklite/js/background.js +9 -10
- package/extensions/ublocklite/js/popup.js +6 -3
- package/extensions/ublocklite/js/ruleset-manager.js +13 -5
- package/extensions/ublocklite/js/scripting/css-declarative.js +5 -9
- package/extensions/ublocklite/js/scripting/css-generic.js +5 -5
- package/extensions/ublocklite/js/scripting/css-procedural.js +5 -5
- package/extensions/ublocklite/js/scripting/css-specific.js +5 -11
- package/extensions/ublocklite/{rulesets/scripting/generichigh/irn-0.css → js/scripting/toolbar-icon.js} +7 -7
- package/extensions/ublocklite/js/scripting-manager.js +22 -33
- package/extensions/ublocklite/js/utils.js +14 -0
- package/extensions/ublocklite/manifest.json +2 -9
- package/extensions/ublocklite/matched-rules.html +1 -0
- package/extensions/ublocklite/popup.html +13 -7
- package/extensions/ublocklite/report.html +1 -0
- package/extensions/ublocklite/rulesets/generic-details.json +16 -8
- package/extensions/ublocklite/rulesets/main/annoyances-cookies.json +30 -16
- package/extensions/ublocklite/rulesets/main/annoyances-others.json +1 -0
- package/extensions/ublocklite/rulesets/main/annoyances-overlays.json +4 -3
- package/extensions/ublocklite/rulesets/main/chn-0.json +37 -31
- package/extensions/ublocklite/rulesets/main/cze-0.json +1 -2
- package/extensions/ublocklite/rulesets/main/deu-0.json +8 -4
- package/extensions/ublocklite/rulesets/main/dpollock-0.json +42 -1
- package/extensions/ublocklite/rulesets/main/easylist.json +39 -24
- package/extensions/ublocklite/rulesets/main/easyprivacy.json +152 -13
- package/extensions/ublocklite/rulesets/main/fin-0.json +1 -2
- package/extensions/ublocklite/rulesets/main/fra-0.json +4 -6
- package/extensions/ublocklite/rulesets/main/hun-0.json +46 -29
- package/extensions/ublocklite/rulesets/main/idn-0.json +92 -27
- package/extensions/ublocklite/rulesets/main/irn-0.json +0 -1
- package/extensions/ublocklite/rulesets/main/isr-0.json +0 -10
- package/extensions/ublocklite/rulesets/main/ita-0.json +2 -1
- package/extensions/ublocklite/rulesets/main/jpn-1.json +26 -21
- package/extensions/ublocklite/rulesets/main/kor-1.json +7 -18
- package/extensions/ublocklite/rulesets/main/mkd-0.json +1 -1
- package/extensions/ublocklite/rulesets/main/nld-0.json +0 -2
- package/extensions/ublocklite/rulesets/main/nor-0.json +8 -42
- package/extensions/ublocklite/rulesets/main/pgl.json +7 -14
- package/extensions/ublocklite/rulesets/main/pol-0.json +2 -7
- package/extensions/ublocklite/rulesets/main/pol-3.json +6962 -3617
- package/extensions/ublocklite/rulesets/main/rus-0.json +15 -12
- package/extensions/ublocklite/rulesets/main/rus-1.json +5 -4
- package/extensions/ublocklite/rulesets/main/spa-0.json +3 -1
- package/extensions/ublocklite/rulesets/main/spa-1.json +4 -5
- package/extensions/ublocklite/rulesets/main/stevenblack-hosts.json +9359 -3524
- package/extensions/ublocklite/rulesets/main/swe-1.json +41 -52
- package/extensions/ublocklite/rulesets/main/tur-0.json +23 -9
- package/extensions/ublocklite/rulesets/main/ublock-badware.json +42 -37
- package/extensions/ublocklite/rulesets/main/ublock-filters.json +90 -182
- package/extensions/ublocklite/rulesets/main/ukr-0.json +1420 -372
- package/extensions/ublocklite/rulesets/main/urlhaus-full.json +540 -508
- package/extensions/ublocklite/rulesets/main/vie-1.json +22 -20
- package/extensions/ublocklite/rulesets/modify-headers/chn-0.json +51 -2
- package/extensions/ublocklite/rulesets/modify-headers/rus-0.json +2 -1
- package/extensions/ublocklite/rulesets/modify-headers/ublock-filters.json +1 -2
- package/extensions/ublocklite/rulesets/redirect/annoyances-overlays.json +0 -1
- package/extensions/ublocklite/rulesets/redirect/chn-0.json +18 -11
- package/extensions/ublocklite/rulesets/redirect/easyprivacy.json +3 -3
- package/extensions/ublocklite/rulesets/redirect/fra-0.json +20 -17
- package/extensions/ublocklite/rulesets/redirect/hun-0.json +17 -0
- package/extensions/ublocklite/rulesets/redirect/isr-0.json +4 -4
- package/extensions/ublocklite/rulesets/redirect/jpn-1.json +9 -7
- package/extensions/ublocklite/rulesets/redirect/kor-1.json +1 -1
- package/extensions/ublocklite/rulesets/redirect/nor-0.json +2 -2
- package/extensions/ublocklite/rulesets/redirect/pol-0.json +4 -4
- package/extensions/ublocklite/rulesets/redirect/rou-1.json +20 -2
- package/extensions/ublocklite/rulesets/redirect/rus-0.json +6 -5
- package/extensions/ublocklite/rulesets/redirect/spa-1.json +12 -8
- package/extensions/ublocklite/rulesets/redirect/swe-1.json +19 -19
- package/extensions/ublocklite/rulesets/redirect/tha-0.json +1 -1
- package/extensions/ublocklite/rulesets/redirect/tur-0.json +11 -7
- package/extensions/ublocklite/rulesets/redirect/ublock-filters.json +102 -87
- package/extensions/ublocklite/rulesets/redirect/ukr-0.json +18 -0
- package/extensions/ublocklite/rulesets/redirect/vie-1.json +4 -4
- package/extensions/ublocklite/rulesets/regex/chn-0.json +5 -2
- package/extensions/ublocklite/rulesets/regex/easylist.json +2 -16
- package/extensions/ublocklite/rulesets/regex/isr-0.json +10 -10
- package/extensions/ublocklite/rulesets/regex/jpn-1.json +1 -1
- package/extensions/ublocklite/rulesets/regex/kor-1.json +77 -89
- package/extensions/ublocklite/rulesets/regex/ublock-badware.json +1 -1
- package/extensions/ublocklite/rulesets/regex/ublock-filters.json +4 -3
- package/extensions/ublocklite/rulesets/regex/ukr-0.json +21 -13
- package/extensions/ublocklite/rulesets/removeparam/adguard-spyware-url.json +13 -7
- package/extensions/ublocklite/rulesets/removeparam/ukr-0.json +6 -7
- package/extensions/ublocklite/rulesets/ruleset-details.json +242 -274
- package/extensions/ublocklite/rulesets/scripting/declarative/annoyances-cookies.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/annoyances-overlays.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/chn-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/declarative/hrv-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/hun-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/declarative/irn-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/declarative/jpn-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/kor-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/rus-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/rus-1.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/declarative/spa-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/swe-1.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/declarative/tur-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/ublock-filters.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/ukr-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/declarative/vie-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/annoyances-cookies.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/annoyances-overlays.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/generic/annoyances-social.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/bgr-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/chn-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/easylist.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/est-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/hun-0.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/generic/idn-0.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/generic/jpn-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/kor-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/nor-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/pol-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/rus-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/spa-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/swe-1.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/tur-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/generic/ublock-filters.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/ukr-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generic/vie-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/generichigh/chn-0.css +2 -18
- package/extensions/ublocklite/rulesets/scripting/generichigh/easylist.css +3 -0
- package/extensions/ublocklite/rulesets/scripting/generichigh/est-0.css +0 -1
- package/extensions/ublocklite/rulesets/scripting/generichigh/idn-0.css +1 -15
- package/extensions/ublocklite/rulesets/scripting/generichigh/jpn-1.css +0 -1
- package/extensions/ublocklite/rulesets/scripting/generichigh/kor-1.css +1 -2
- package/extensions/ublocklite/rulesets/scripting/generichigh/nor-0.css +0 -17
- package/extensions/ublocklite/rulesets/scripting/generichigh/pol-0.css +0 -8
- package/extensions/ublocklite/rulesets/scripting/generichigh/rou-1.css +0 -1
- package/extensions/ublocklite/rulesets/scripting/generichigh/rus-0.css +0 -103
- package/extensions/ublocklite/rulesets/scripting/generichigh/rus-1.css +0 -3
- package/extensions/ublocklite/rulesets/scripting/generichigh/swe-1.css +0 -1
- package/extensions/ublocklite/rulesets/scripting/generichigh/tur-0.css +0 -7
- package/extensions/ublocklite/rulesets/scripting/generichigh/ublock-filters.css +1 -6
- package/extensions/ublocklite/rulesets/scripting/generichigh/ukr-0.css +25 -7
- package/extensions/ublocklite/rulesets/scripting/generichigh/vie-1.css +0 -1
- package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-cookies.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-overlays.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/procedural/chn-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/procedural/easylist.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/procedural/hrv-0.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/procedural/jpn-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/procedural/kor-1.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/procedural/rus-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/procedural/swe-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/procedural/ublock-filters.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/procedural/ukr-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.addEventListener-defuser.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-constant.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-cookie.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-local-storage-item.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-session-storage-item.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.trusted-click-element.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.trusted-set-cookie.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.trusted-set-local-storage-item.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-others.remove-cookie.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.abort-current-script.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.abort-on-property-read.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.addEventListener-defuser.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.prevent-setTimeout.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.set-constant.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.abort-on-stack-trace.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.adjust-setInterval.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.prevent-setTimeout.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.set-constant.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/easyprivacy.abort-current-script.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/easyprivacy.abort-on-stack-trace.js +421 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/hun-0.prevent-fetch.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/hun-0.set-constant.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.remove-node-text.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/kor-1.remove-node-text.js +449 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/kor-1.set-constant.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.addEventListener-defuser.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.set-attr.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.set-constant.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-1.set-constant.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.prevent-xhr.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/swe-1.href-sanitizer.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.abort-on-property-read.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.abort-on-property-write.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.prevent-fetch.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.remove-attr.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.set-constant.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-current-script.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-on-property-read.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-on-property-write.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-on-stack-trace.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.addEventListener-defuser.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.adjust-setInterval.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.adjust-setTimeout.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.json-prune-fetch-response.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.json-prune.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.noeval-if.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.nowebrtc.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-fetch.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-requestAnimationFrame.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-setInterval.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-setTimeout.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-window-open.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-xhr.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.remove-cookie.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.remove-node-text.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-constant.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-cookie.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-local-storage-item.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-session-storage-item.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-prevent-dom-bypass.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-replace-node-text.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-replace-xhr-response.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-set-constant.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-suppress-native-method.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.abort-current-script.js +451 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.abort-on-property-read.js +369 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.abort-on-property-write.js +347 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.json-prune.js +506 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.prevent-fetch.js +553 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.prevent-window-open.js +471 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/{vie-1.set-cookie.js → ukr-0.remove-attr.js} +99 -127
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.remove-class.js +396 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.remove-node-text.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.set-constant.js +541 -0
- package/extensions/ublocklite/rulesets/scripting/scriptlet/vie-1.abort-current-script.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/scriptlet/vie-1.abort-on-property-read.js +1 -1
- package/extensions/ublocklite/rulesets/scripting/scriptlet/vie-1.set-constant.js +2 -2
- package/extensions/ublocklite/rulesets/scripting/specific/annoyances-cookies.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/annoyances-others.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/annoyances-overlays.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/annoyances-social.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/chn-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/deu-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/easylist.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/fin-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/fra-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/hrv-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/hun-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/idn-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/ita-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/jpn-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/kor-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/lva-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/nld-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/nor-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/pol-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/rou-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/rus-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/spa-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/spa-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/swe-1.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/tur-0.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/ublock-filters.js +3 -3
- package/extensions/ublocklite/rulesets/scripting/specific/ukr-0.js +4 -4
- package/extensions/ublocklite/rulesets/scripting/specific/vie-1.js +3 -3
- package/extensions/ublocklite/rulesets/scriptlet-details.json +450 -190
- package/extensions/ublocklite/rulesets/strictblock/annoyances-cookies.json +6 -0
- package/extensions/ublocklite/rulesets/strictblock/chn-0.json +153 -367
- package/extensions/ublocklite/rulesets/strictblock/dpollock-0.json +42 -1
- package/extensions/ublocklite/rulesets/strictblock/easylist.json +1 -1
- package/extensions/ublocklite/rulesets/strictblock/easyprivacy.json +366 -3
- package/extensions/ublocklite/rulesets/strictblock/fra-0.json +6 -0
- package/extensions/ublocklite/rulesets/strictblock/hun-0.json +36 -2
- package/extensions/ublocklite/rulesets/strictblock/idn-0.json +0 -1
- package/extensions/ublocklite/rulesets/strictblock/jpn-1.json +152 -147
- package/extensions/ublocklite/rulesets/strictblock/mkd-0.json +0 -1
- package/extensions/ublocklite/rulesets/strictblock/nor-0.json +6 -4
- package/extensions/ublocklite/rulesets/strictblock/pgl.json +7 -14
- package/extensions/ublocklite/rulesets/strictblock/pol-0.json +1 -1
- package/extensions/ublocklite/rulesets/strictblock/pol-3.json +6962 -3617
- package/extensions/ublocklite/rulesets/strictblock/spa-0.json +1 -0
- package/extensions/ublocklite/rulesets/strictblock/stevenblack-hosts.json +9359 -3524
- package/extensions/ublocklite/rulesets/strictblock/swe-1.json +3 -6
- package/extensions/ublocklite/rulesets/strictblock/ublock-badware.json +640 -628
- package/extensions/ublocklite/rulesets/strictblock/ublock-filters.json +1 -1
- package/extensions/ublocklite/rulesets/strictblock/ukr-0.json +467 -103
- package/extensions/ublocklite/rulesets/strictblock/urlhaus-full.json +540 -508
- package/extensions/ublocklite/rulesets/urlskip/ublock-filters.json +6 -0
- package/extensions/ublocklite/strictblock.html +1 -0
- package/extensions/ublocklite/ublock.zip +0 -0
- package/package.json +10 -10
- package/scripts/build-open-api.js +16 -5
- package/src/limiter.ts +7 -1
- package/src/types.ts +1 -0
- package/static/docs/swagger.json +1318 -1318
- package/static/docs/swagger.min.json +1317 -1317
- package/static/function/client.js +10 -3
- package/static/function/index.html +10 -3
- package/extensions/ublocklite/rulesets/main/openphish-domains.json +0 -36928
- package/extensions/ublocklite/rulesets/strictblock/openphish-domains.json +0 -36943
|
@@ -280,14 +280,14 @@
|
|
|
280
280
|
"length": {
|
|
281
281
|
"type": "number"
|
|
282
282
|
},
|
|
283
|
-
"__@toStringTag@
|
|
283
|
+
"__@toStringTag@14939": {
|
|
284
284
|
"type": "string",
|
|
285
285
|
"const": "Uint8Array"
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
"required": [
|
|
289
289
|
"BYTES_PER_ELEMENT",
|
|
290
|
-
"__@toStringTag@
|
|
290
|
+
"__@toStringTag@14939",
|
|
291
291
|
"buffer",
|
|
292
292
|
"byteLength",
|
|
293
293
|
"byteOffset",
|
|
@@ -322,13 +322,13 @@
|
|
|
322
322
|
"byteLength": {
|
|
323
323
|
"type": "number"
|
|
324
324
|
},
|
|
325
|
-
"__@toStringTag@
|
|
325
|
+
"__@toStringTag@14939": {
|
|
326
326
|
"type": "string"
|
|
327
327
|
}
|
|
328
328
|
},
|
|
329
329
|
"additionalProperties": false,
|
|
330
330
|
"required": [
|
|
331
|
-
"__@toStringTag@
|
|
331
|
+
"__@toStringTag@14939",
|
|
332
332
|
"byteLength"
|
|
333
333
|
]
|
|
334
334
|
},
|
|
@@ -338,18 +338,18 @@
|
|
|
338
338
|
"byteLength": {
|
|
339
339
|
"type": "number"
|
|
340
340
|
},
|
|
341
|
-
"__@species@
|
|
341
|
+
"__@species@14977": {
|
|
342
342
|
"$ref": "#/definitions/SharedArrayBuffer"
|
|
343
343
|
},
|
|
344
|
-
"__@toStringTag@
|
|
344
|
+
"__@toStringTag@14939": {
|
|
345
345
|
"type": "string",
|
|
346
346
|
"const": "SharedArrayBuffer"
|
|
347
347
|
}
|
|
348
348
|
},
|
|
349
349
|
"additionalProperties": false,
|
|
350
350
|
"required": [
|
|
351
|
-
"__@species@
|
|
352
|
-
"__@toStringTag@
|
|
351
|
+
"__@species@14977",
|
|
352
|
+
"__@toStringTag@14939",
|
|
353
353
|
"byteLength"
|
|
354
354
|
]
|
|
355
355
|
},
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
},
|
|
1002
1002
|
"info": {
|
|
1003
1003
|
"title": "Browserless",
|
|
1004
|
-
"version": "2.
|
|
1004
|
+
"version": "2.30.1",
|
|
1005
1005
|
"x-logo": {
|
|
1006
1006
|
"altText": "browserless logo",
|
|
1007
1007
|
"url": "./docs/browserless-logo-inline.svg"
|
|
@@ -3256,10 +3256,10 @@
|
|
|
3256
3256
|
]
|
|
3257
3257
|
}
|
|
3258
3258
|
},
|
|
3259
|
-
"/
|
|
3260
|
-
"
|
|
3259
|
+
"/chromium/content": {
|
|
3260
|
+
"post": {
|
|
3261
3261
|
"definitions": {},
|
|
3262
|
-
"description": "
|
|
3262
|
+
"description": "A JSON-based API. Given a \"url\" or \"html\" field, runs and returns HTML content after the page has loaded and JavaScript has parsed.\n\n**Note:** This endpoint is also available at: `/content` for backwards compatibility.",
|
|
3263
3263
|
"parameters": [
|
|
3264
3264
|
{
|
|
3265
3265
|
"in": "query",
|
|
@@ -3273,7 +3273,6 @@
|
|
|
3273
3273
|
"in": "query",
|
|
3274
3274
|
"name": "launch",
|
|
3275
3275
|
"schema": {
|
|
3276
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
3277
3276
|
"anyOf": [
|
|
3278
3277
|
{
|
|
3279
3278
|
"$ref": "#/definitions/CDPLaunchOptions"
|
|
@@ -3310,11 +3309,208 @@
|
|
|
3310
3309
|
}
|
|
3311
3310
|
],
|
|
3312
3311
|
"requestBody": {
|
|
3313
|
-
"content": {
|
|
3312
|
+
"content": {
|
|
3313
|
+
"application/json": {
|
|
3314
|
+
"schema": {
|
|
3315
|
+
"properties": {
|
|
3316
|
+
"addScriptTag": {
|
|
3317
|
+
"type": "array",
|
|
3318
|
+
"items": {
|
|
3319
|
+
"$ref": "#/definitions/FrameAddScriptTagOptions"
|
|
3320
|
+
}
|
|
3321
|
+
},
|
|
3322
|
+
"addStyleTag": {
|
|
3323
|
+
"type": "array",
|
|
3324
|
+
"items": {
|
|
3325
|
+
"$ref": "#/definitions/FrameAddStyleTagOptions"
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
"authenticate": {
|
|
3329
|
+
"anyOf": [
|
|
3330
|
+
{
|
|
3331
|
+
"$ref": "#/definitions/Credentials"
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
"type": "null"
|
|
3335
|
+
}
|
|
3336
|
+
]
|
|
3337
|
+
},
|
|
3338
|
+
"bestAttempt": {
|
|
3339
|
+
"description": "When bestAttempt is set to true, browserless attempt to proceed\nwhen \"awaited\" events fail or timeout. This includes things like\ngoto, waitForSelector, and more.",
|
|
3340
|
+
"type": "boolean"
|
|
3341
|
+
},
|
|
3342
|
+
"cookies": {
|
|
3343
|
+
"type": "array",
|
|
3344
|
+
"items": {
|
|
3345
|
+
"$ref": "#/definitions/CookieParam"
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3348
|
+
"emulateMediaType": {
|
|
3349
|
+
"type": "string"
|
|
3350
|
+
},
|
|
3351
|
+
"gotoOptions": {
|
|
3352
|
+
"$ref": "#/definitions/GoToOptions"
|
|
3353
|
+
},
|
|
3354
|
+
"html": {
|
|
3355
|
+
"type": "string"
|
|
3356
|
+
},
|
|
3357
|
+
"rejectRequestPattern": {
|
|
3358
|
+
"type": "array",
|
|
3359
|
+
"items": {
|
|
3360
|
+
"type": "string"
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3363
|
+
"rejectResourceTypes": {
|
|
3364
|
+
"type": "array",
|
|
3365
|
+
"items": {
|
|
3366
|
+
"enum": [
|
|
3367
|
+
"cspviolationreport",
|
|
3368
|
+
"document",
|
|
3369
|
+
"eventsource",
|
|
3370
|
+
"fetch",
|
|
3371
|
+
"font",
|
|
3372
|
+
"image",
|
|
3373
|
+
"manifest",
|
|
3374
|
+
"media",
|
|
3375
|
+
"other",
|
|
3376
|
+
"ping",
|
|
3377
|
+
"prefetch",
|
|
3378
|
+
"preflight",
|
|
3379
|
+
"script",
|
|
3380
|
+
"signedexchange",
|
|
3381
|
+
"stylesheet",
|
|
3382
|
+
"texttrack",
|
|
3383
|
+
"websocket",
|
|
3384
|
+
"xhr"
|
|
3385
|
+
],
|
|
3386
|
+
"type": "string"
|
|
3387
|
+
}
|
|
3388
|
+
},
|
|
3389
|
+
"requestInterceptors": {
|
|
3390
|
+
"type": "array",
|
|
3391
|
+
"items": {
|
|
3392
|
+
"description": "An array of patterns (using `req.url().match(r.pattern)` to match) and their\ncorresponding responses to use in order to fulfill those requests.",
|
|
3393
|
+
"type": "object",
|
|
3394
|
+
"properties": {
|
|
3395
|
+
"pattern": {
|
|
3396
|
+
"description": "An array of patterns (using `req.url().match(r.pattern)` to match) and their\ncorresponding responses to use in order to fulfill those requests.",
|
|
3397
|
+
"type": "string"
|
|
3398
|
+
},
|
|
3399
|
+
"response": {
|
|
3400
|
+
"$ref": "#/definitions/Partial<ResponseForRequest>"
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
"additionalProperties": false,
|
|
3404
|
+
"required": [
|
|
3405
|
+
"pattern",
|
|
3406
|
+
"response"
|
|
3407
|
+
]
|
|
3408
|
+
}
|
|
3409
|
+
},
|
|
3410
|
+
"setExtraHTTPHeaders": {
|
|
3411
|
+
"$ref": "#/definitions/Record<string,string>"
|
|
3412
|
+
},
|
|
3413
|
+
"setJavaScriptEnabled": {
|
|
3414
|
+
"description": "Whether or not to allow JavaScript to run on the page.",
|
|
3415
|
+
"type": "boolean"
|
|
3416
|
+
},
|
|
3417
|
+
"url": {
|
|
3418
|
+
"type": "string"
|
|
3419
|
+
},
|
|
3420
|
+
"userAgent": {
|
|
3421
|
+
"type": "string"
|
|
3422
|
+
},
|
|
3423
|
+
"viewport": {
|
|
3424
|
+
"anyOf": [
|
|
3425
|
+
{
|
|
3426
|
+
"$ref": "#/definitions/Viewport"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"type": "null"
|
|
3430
|
+
}
|
|
3431
|
+
]
|
|
3432
|
+
},
|
|
3433
|
+
"waitForEvent": {
|
|
3434
|
+
"type": "object",
|
|
3435
|
+
"properties": {
|
|
3436
|
+
"event": {
|
|
3437
|
+
"type": "string"
|
|
3438
|
+
},
|
|
3439
|
+
"timeout": {
|
|
3440
|
+
"type": "number"
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3443
|
+
"additionalProperties": false,
|
|
3444
|
+
"required": [
|
|
3445
|
+
"event"
|
|
3446
|
+
]
|
|
3447
|
+
},
|
|
3448
|
+
"waitForFunction": {
|
|
3449
|
+
"type": "object",
|
|
3450
|
+
"properties": {
|
|
3451
|
+
"fn": {
|
|
3452
|
+
"description": "The function, or statement, to be evaluated in browser context",
|
|
3453
|
+
"type": "string"
|
|
3454
|
+
},
|
|
3455
|
+
"polling": {
|
|
3456
|
+
"description": "An interval at which the pageFunction is executed, defaults to raf.\nIf polling is a number, then it is treated as an interval in milliseconds\nat which the function would be executed. If polling is a string,\nthen it can be one of the following values: \"raf\" or \"mutation\"",
|
|
3457
|
+
"type": [
|
|
3458
|
+
"string",
|
|
3459
|
+
"number"
|
|
3460
|
+
]
|
|
3461
|
+
},
|
|
3462
|
+
"timeout": {
|
|
3463
|
+
"description": "Maximum time to wait for in milliseconds. Defaults to 30000 (30 seconds).\nPass 0 to disable timeout.",
|
|
3464
|
+
"type": "number"
|
|
3465
|
+
}
|
|
3466
|
+
},
|
|
3467
|
+
"additionalProperties": false,
|
|
3468
|
+
"required": [
|
|
3469
|
+
"fn"
|
|
3470
|
+
]
|
|
3471
|
+
},
|
|
3472
|
+
"waitForSelector": {
|
|
3473
|
+
"type": "object",
|
|
3474
|
+
"properties": {
|
|
3475
|
+
"hidden": {
|
|
3476
|
+
"type": "boolean"
|
|
3477
|
+
},
|
|
3478
|
+
"selector": {
|
|
3479
|
+
"type": "string"
|
|
3480
|
+
},
|
|
3481
|
+
"timeout": {
|
|
3482
|
+
"type": "number"
|
|
3483
|
+
},
|
|
3484
|
+
"visible": {
|
|
3485
|
+
"type": "boolean"
|
|
3486
|
+
}
|
|
3487
|
+
},
|
|
3488
|
+
"additionalProperties": false,
|
|
3489
|
+
"required": [
|
|
3490
|
+
"selector"
|
|
3491
|
+
]
|
|
3492
|
+
},
|
|
3493
|
+
"waitForTimeout": {
|
|
3494
|
+
"type": "number"
|
|
3495
|
+
}
|
|
3496
|
+
},
|
|
3497
|
+
"type": "object"
|
|
3498
|
+
}
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3314
3501
|
},
|
|
3315
3502
|
"responses": {
|
|
3316
|
-
"
|
|
3317
|
-
"
|
|
3503
|
+
"200": {
|
|
3504
|
+
"content": {
|
|
3505
|
+
"text/html": {
|
|
3506
|
+
"schema": {
|
|
3507
|
+
"description": "An HTML payload of the website or HTML after JavaScript\nparsing and execution.",
|
|
3508
|
+
"type": "string",
|
|
3509
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
"description": "An HTML payload of the website or HTML after JavaScript\nparsing and execution."
|
|
3318
3514
|
},
|
|
3319
3515
|
"400": {
|
|
3320
3516
|
"code": 400,
|
|
@@ -3347,16 +3543,16 @@
|
|
|
3347
3543
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
3348
3544
|
}
|
|
3349
3545
|
},
|
|
3350
|
-
"summary": "/
|
|
3546
|
+
"summary": "/chromium/content",
|
|
3351
3547
|
"tags": [
|
|
3352
|
-
"Browser
|
|
3548
|
+
"Browser REST APIs"
|
|
3353
3549
|
]
|
|
3354
3550
|
}
|
|
3355
3551
|
},
|
|
3356
|
-
"/
|
|
3357
|
-
"
|
|
3552
|
+
"/chromium/download": {
|
|
3553
|
+
"post": {
|
|
3358
3554
|
"definitions": {},
|
|
3359
|
-
"description": "
|
|
3555
|
+
"description": "A JSON or JavaScript content-type API for returning files Chrome has downloaded during\nthe execution of puppeteer code, which is ran inside context of the browser.\nBrowserless sets up a blank page, a fresh download directory, injects your puppeteer code, and then executes it.\nYou can load external libraries via the \"import\" syntax, and import ESM-style modules\nthat are written for execution inside of the browser. Once your script is finished, any\ndownloaded files from Chromium are returned back with the appropriate content-type header.\n\n**Note:** This endpoint is also available at: `/download` for backwards compatibility.",
|
|
3360
3556
|
"parameters": [
|
|
3361
3557
|
{
|
|
3362
3558
|
"in": "query",
|
|
@@ -3407,11 +3603,30 @@
|
|
|
3407
3603
|
}
|
|
3408
3604
|
],
|
|
3409
3605
|
"requestBody": {
|
|
3410
|
-
"content": {
|
|
3606
|
+
"content": {
|
|
3607
|
+
"application/json": {
|
|
3608
|
+
"schema": {
|
|
3609
|
+
"$ref": "#/definitions/JSONSchema"
|
|
3610
|
+
}
|
|
3611
|
+
},
|
|
3612
|
+
"application/javascript": {
|
|
3613
|
+
"schema": {
|
|
3614
|
+
"type": "string"
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3617
|
+
}
|
|
3411
3618
|
},
|
|
3412
3619
|
"responses": {
|
|
3413
|
-
"
|
|
3414
|
-
"
|
|
3620
|
+
"200": {
|
|
3621
|
+
"content": {
|
|
3622
|
+
"*/*": {
|
|
3623
|
+
"schema": {
|
|
3624
|
+
"description": "Responses are determined by the returned value of the downloads\nthemselves, so there isn't a static response type for this API.",
|
|
3625
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3626
|
+
}
|
|
3627
|
+
}
|
|
3628
|
+
},
|
|
3629
|
+
"description": "Responses are determined by the returned value of the downloads\nthemselves, so there isn't a static response type for this API."
|
|
3415
3630
|
},
|
|
3416
3631
|
"400": {
|
|
3417
3632
|
"code": 400,
|
|
@@ -3444,16 +3659,16 @@
|
|
|
3444
3659
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
3445
3660
|
}
|
|
3446
3661
|
},
|
|
3447
|
-
"summary": "/
|
|
3662
|
+
"summary": "/chromium/download",
|
|
3448
3663
|
"tags": [
|
|
3449
|
-
"Browser
|
|
3664
|
+
"Browser REST APIs"
|
|
3450
3665
|
]
|
|
3451
3666
|
}
|
|
3452
3667
|
},
|
|
3453
|
-
"/
|
|
3454
|
-
"
|
|
3668
|
+
"/chromium/function": {
|
|
3669
|
+
"post": {
|
|
3455
3670
|
"definitions": {},
|
|
3456
|
-
"description": "
|
|
3671
|
+
"description": "A JSON or JavaScript content-type API for running puppeteer code in the browser's context.\nBrowserless sets up a blank page, injects your puppeteer code, and runs it.\nYou can optionally load external libraries via the \"import\" module that are meant for browser usage.\nValues returned from the function are checked and an appropriate content-type and response is sent back\nto your HTTP call.\n\n**Note:** This endpoint is also available at: `/function` for backwards compatibility.",
|
|
3457
3672
|
"parameters": [
|
|
3458
3673
|
{
|
|
3459
3674
|
"in": "query",
|
|
@@ -3504,108 +3719,30 @@
|
|
|
3504
3719
|
}
|
|
3505
3720
|
],
|
|
3506
3721
|
"requestBody": {
|
|
3507
|
-
"content": {
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
},
|
|
3518
|
-
"401": {
|
|
3519
|
-
"code": 401,
|
|
3520
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
3521
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
3522
|
-
},
|
|
3523
|
-
"404": {
|
|
3524
|
-
"code": 404,
|
|
3525
|
-
"description": "Resource couldn't be found.",
|
|
3526
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
3527
|
-
},
|
|
3528
|
-
"408": {
|
|
3529
|
-
"code": 408,
|
|
3530
|
-
"description": "The request took has taken too long to process.",
|
|
3531
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
3532
|
-
},
|
|
3533
|
-
"429": {
|
|
3534
|
-
"code": 429,
|
|
3535
|
-
"description": "Too many requests are currently being processed.",
|
|
3536
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
3537
|
-
},
|
|
3538
|
-
"500": {
|
|
3539
|
-
"code": 500,
|
|
3540
|
-
"description": "An internal error occurred when handling the request.",
|
|
3541
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
3542
|
-
}
|
|
3543
|
-
},
|
|
3544
|
-
"summary": "/devtools/page/*",
|
|
3545
|
-
"tags": [
|
|
3546
|
-
"Browser WebSocket APIs"
|
|
3547
|
-
]
|
|
3548
|
-
}
|
|
3549
|
-
},
|
|
3550
|
-
"/chrome/playwright": {
|
|
3551
|
-
"get": {
|
|
3552
|
-
"definitions": {},
|
|
3553
|
-
"description": "Connect to Chromium with any playwright style library.",
|
|
3554
|
-
"parameters": [
|
|
3555
|
-
{
|
|
3556
|
-
"in": "query",
|
|
3557
|
-
"name": "blockAds",
|
|
3558
|
-
"schema": {
|
|
3559
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
3560
|
-
"type": "boolean"
|
|
3561
|
-
}
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
"in": "query",
|
|
3565
|
-
"name": "launch",
|
|
3566
|
-
"schema": {
|
|
3567
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
3568
|
-
"anyOf": [
|
|
3569
|
-
{
|
|
3570
|
-
"$ref": "#/definitions/BrowserServerOptions"
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
"type": "string"
|
|
3574
|
-
}
|
|
3575
|
-
]
|
|
3576
|
-
}
|
|
3577
|
-
},
|
|
3578
|
-
{
|
|
3579
|
-
"in": "query",
|
|
3580
|
-
"name": "timeout",
|
|
3581
|
-
"schema": {
|
|
3582
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
3583
|
-
"type": "number"
|
|
3584
|
-
}
|
|
3585
|
-
},
|
|
3586
|
-
{
|
|
3587
|
-
"in": "query",
|
|
3588
|
-
"name": "token",
|
|
3589
|
-
"schema": {
|
|
3590
|
-
"description": "The authorization token",
|
|
3591
|
-
"type": "string"
|
|
3592
|
-
}
|
|
3593
|
-
},
|
|
3594
|
-
{
|
|
3595
|
-
"in": "query",
|
|
3596
|
-
"name": "trackingId",
|
|
3597
|
-
"schema": {
|
|
3598
|
-
"description": "Custom session identifier",
|
|
3599
|
-
"type": "string"
|
|
3722
|
+
"content": {
|
|
3723
|
+
"application/json": {
|
|
3724
|
+
"schema": {
|
|
3725
|
+
"$ref": "#/definitions/JSONSchema"
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
"application/javascript": {
|
|
3729
|
+
"schema": {
|
|
3730
|
+
"type": "string"
|
|
3731
|
+
}
|
|
3600
3732
|
}
|
|
3601
3733
|
}
|
|
3602
|
-
],
|
|
3603
|
-
"requestBody": {
|
|
3604
|
-
"content": {}
|
|
3605
3734
|
},
|
|
3606
3735
|
"responses": {
|
|
3607
|
-
"
|
|
3608
|
-
"
|
|
3736
|
+
"200": {
|
|
3737
|
+
"content": {
|
|
3738
|
+
"*/*": {
|
|
3739
|
+
"schema": {
|
|
3740
|
+
"description": "Responses are determined by the returned value of the function\nitself. Binary responses (PDF's, screenshots) are returned back\nas binary data, and primitive JavaScript values are returned back\nby type (HTML data is \"text/html\", Objects are \"application/json\")",
|
|
3741
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3742
|
+
}
|
|
3743
|
+
}
|
|
3744
|
+
},
|
|
3745
|
+
"description": "Responses are determined by the returned value of the function\nitself. Binary responses (PDF's, screenshots) are returned back\nas binary data, and primitive JavaScript values are returned back\nby type (HTML data is \"text/html\", Objects are \"application/json\")"
|
|
3609
3746
|
},
|
|
3610
3747
|
"400": {
|
|
3611
3748
|
"code": 400,
|
|
@@ -3638,16 +3775,16 @@
|
|
|
3638
3775
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
3639
3776
|
}
|
|
3640
3777
|
},
|
|
3641
|
-
"summary": "/
|
|
3778
|
+
"summary": "/chromium/function",
|
|
3642
3779
|
"tags": [
|
|
3643
|
-
"Browser
|
|
3780
|
+
"Browser REST APIs"
|
|
3644
3781
|
]
|
|
3645
3782
|
}
|
|
3646
3783
|
},
|
|
3647
|
-
"/
|
|
3784
|
+
"/chromium/pdf": {
|
|
3648
3785
|
"post": {
|
|
3649
3786
|
"definitions": {},
|
|
3650
|
-
"description": "A JSON-based API
|
|
3787
|
+
"description": "A JSON-based API for getting a PDF binary from either a supplied\n\"url\" or \"html\" payload in your request. Many options exist for\ninjecting cookies, request interceptors, user-agents and waiting for\nselectors, timers and more.\n\n**Note:** This endpoint is also available at: `/pdf` for backwards compatibility.",
|
|
3651
3788
|
"parameters": [
|
|
3652
3789
|
{
|
|
3653
3790
|
"in": "query",
|
|
@@ -3661,6 +3798,7 @@
|
|
|
3661
3798
|
"in": "query",
|
|
3662
3799
|
"name": "launch",
|
|
3663
3800
|
"schema": {
|
|
3801
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
3664
3802
|
"anyOf": [
|
|
3665
3803
|
{
|
|
3666
3804
|
"$ref": "#/definitions/CDPLaunchOptions"
|
|
@@ -3742,6 +3880,9 @@
|
|
|
3742
3880
|
"html": {
|
|
3743
3881
|
"type": "string"
|
|
3744
3882
|
},
|
|
3883
|
+
"options": {
|
|
3884
|
+
"$ref": "#/definitions/PDFOptions"
|
|
3885
|
+
},
|
|
3745
3886
|
"rejectRequestPattern": {
|
|
3746
3887
|
"type": "array",
|
|
3747
3888
|
"items": {
|
|
@@ -3799,7 +3940,6 @@
|
|
|
3799
3940
|
"$ref": "#/definitions/Record<string,string>"
|
|
3800
3941
|
},
|
|
3801
3942
|
"setJavaScriptEnabled": {
|
|
3802
|
-
"description": "Whether or not to allow JavaScript to run on the page.",
|
|
3803
3943
|
"type": "boolean"
|
|
3804
3944
|
},
|
|
3805
3945
|
"url": {
|
|
@@ -3890,15 +4030,15 @@
|
|
|
3890
4030
|
"responses": {
|
|
3891
4031
|
"200": {
|
|
3892
4032
|
"content": {
|
|
3893
|
-
"
|
|
4033
|
+
"application/pdf": {
|
|
3894
4034
|
"schema": {
|
|
3895
|
-
"description": "
|
|
4035
|
+
"description": "Responds with an application/pdf content-type and a binary PDF",
|
|
3896
4036
|
"type": "string",
|
|
3897
4037
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
3898
4038
|
}
|
|
3899
4039
|
}
|
|
3900
4040
|
},
|
|
3901
|
-
"description": "
|
|
4041
|
+
"description": "Responds with an application/pdf content-type and a binary PDF"
|
|
3902
4042
|
},
|
|
3903
4043
|
"400": {
|
|
3904
4044
|
"code": 400,
|
|
@@ -3931,16 +4071,16 @@
|
|
|
3931
4071
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
3932
4072
|
}
|
|
3933
4073
|
},
|
|
3934
|
-
"summary": "/
|
|
4074
|
+
"summary": "/chromium/pdf",
|
|
3935
4075
|
"tags": [
|
|
3936
4076
|
"Browser REST APIs"
|
|
3937
4077
|
]
|
|
3938
4078
|
}
|
|
3939
4079
|
},
|
|
3940
|
-
"/
|
|
4080
|
+
"/chromium/performance": {
|
|
3941
4081
|
"post": {
|
|
3942
4082
|
"definitions": {},
|
|
3943
|
-
"description": "
|
|
4083
|
+
"description": "Run lighthouse performance audits with a supplied \"url\" in your JSON payload.\n\n**Note:** This endpoint is also available at: `/performance` for backwards compatibility.",
|
|
3944
4084
|
"parameters": [
|
|
3945
4085
|
{
|
|
3946
4086
|
"in": "query",
|
|
@@ -3994,12 +4134,25 @@
|
|
|
3994
4134
|
"content": {
|
|
3995
4135
|
"application/json": {
|
|
3996
4136
|
"schema": {
|
|
3997
|
-
"
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4137
|
+
"properties": {
|
|
4138
|
+
"budgets": {
|
|
4139
|
+
"type": "array",
|
|
4140
|
+
"items": {
|
|
4141
|
+
"type": "object",
|
|
4142
|
+
"properties": {},
|
|
4143
|
+
"additionalProperties": true
|
|
4144
|
+
}
|
|
4145
|
+
},
|
|
4146
|
+
"config": {
|
|
4147
|
+
"type": "object",
|
|
4148
|
+
"properties": {},
|
|
4149
|
+
"additionalProperties": true
|
|
4150
|
+
},
|
|
4151
|
+
"url": {
|
|
4152
|
+
"type": "string"
|
|
4153
|
+
}
|
|
4154
|
+
},
|
|
4155
|
+
"type": "object"
|
|
4003
4156
|
}
|
|
4004
4157
|
}
|
|
4005
4158
|
}
|
|
@@ -4007,14 +4160,17 @@
|
|
|
4007
4160
|
"responses": {
|
|
4008
4161
|
"200": {
|
|
4009
4162
|
"content": {
|
|
4010
|
-
"
|
|
4163
|
+
"application/json": {
|
|
4011
4164
|
"schema": {
|
|
4012
|
-
"description": "
|
|
4165
|
+
"description": "The response of the lighthouse stats. Response objects are\ndetermined by the type of budgets and config in the POST\nJSON body",
|
|
4166
|
+
"type": "object",
|
|
4167
|
+
"properties": {},
|
|
4168
|
+
"additionalProperties": true,
|
|
4013
4169
|
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4014
4170
|
}
|
|
4015
4171
|
}
|
|
4016
4172
|
},
|
|
4017
|
-
"description": "
|
|
4173
|
+
"description": "The response of the lighthouse stats. Response objects are\ndetermined by the type of budgets and config in the POST\nJSON body"
|
|
4018
4174
|
},
|
|
4019
4175
|
"400": {
|
|
4020
4176
|
"code": 400,
|
|
@@ -4047,16 +4203,16 @@
|
|
|
4047
4203
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
4048
4204
|
}
|
|
4049
4205
|
},
|
|
4050
|
-
"summary": "/
|
|
4206
|
+
"summary": "/chromium/performance",
|
|
4051
4207
|
"tags": [
|
|
4052
4208
|
"Browser REST APIs"
|
|
4053
4209
|
]
|
|
4054
4210
|
}
|
|
4055
4211
|
},
|
|
4056
|
-
"/
|
|
4212
|
+
"/chromium/scrape": {
|
|
4057
4213
|
"post": {
|
|
4058
4214
|
"definitions": {},
|
|
4059
|
-
"description": "A JSON
|
|
4215
|
+
"description": "A JSON-based API that returns text, html, and meta-data from a given list of selectors.\nDebugging information is available by sending in the appropriate flags in the \"debugOpts\"\nproperty. Responds with an array of JSON objects.\n\n**Note:** This endpoint is also available at: `/scrape` for backwards compatibility.",
|
|
4060
4216
|
"parameters": [
|
|
4061
4217
|
{
|
|
4062
4218
|
"in": "query",
|
|
@@ -4070,123 +4226,6 @@
|
|
|
4070
4226
|
"in": "query",
|
|
4071
4227
|
"name": "launch",
|
|
4072
4228
|
"schema": {
|
|
4073
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
4074
|
-
"anyOf": [
|
|
4075
|
-
{
|
|
4076
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
4077
|
-
},
|
|
4078
|
-
{
|
|
4079
|
-
"type": "string"
|
|
4080
|
-
}
|
|
4081
|
-
]
|
|
4082
|
-
}
|
|
4083
|
-
},
|
|
4084
|
-
{
|
|
4085
|
-
"in": "query",
|
|
4086
|
-
"name": "timeout",
|
|
4087
|
-
"schema": {
|
|
4088
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
4089
|
-
"type": "number"
|
|
4090
|
-
}
|
|
4091
|
-
},
|
|
4092
|
-
{
|
|
4093
|
-
"in": "query",
|
|
4094
|
-
"name": "token",
|
|
4095
|
-
"schema": {
|
|
4096
|
-
"description": "The authorization token",
|
|
4097
|
-
"type": "string"
|
|
4098
|
-
}
|
|
4099
|
-
},
|
|
4100
|
-
{
|
|
4101
|
-
"in": "query",
|
|
4102
|
-
"name": "trackingId",
|
|
4103
|
-
"schema": {
|
|
4104
|
-
"description": "Custom session identifier",
|
|
4105
|
-
"type": "string"
|
|
4106
|
-
}
|
|
4107
|
-
}
|
|
4108
|
-
],
|
|
4109
|
-
"requestBody": {
|
|
4110
|
-
"content": {
|
|
4111
|
-
"application/json": {
|
|
4112
|
-
"schema": {
|
|
4113
|
-
"$ref": "#/definitions/JSONSchema"
|
|
4114
|
-
}
|
|
4115
|
-
},
|
|
4116
|
-
"application/javascript": {
|
|
4117
|
-
"schema": {
|
|
4118
|
-
"type": "string"
|
|
4119
|
-
}
|
|
4120
|
-
}
|
|
4121
|
-
}
|
|
4122
|
-
},
|
|
4123
|
-
"responses": {
|
|
4124
|
-
"200": {
|
|
4125
|
-
"content": {
|
|
4126
|
-
"*/*": {
|
|
4127
|
-
"schema": {
|
|
4128
|
-
"description": "Responses are determined by the returned value of the function\nitself. Binary responses (PDF's, screenshots) are returned back\nas binary data, and primitive JavaScript values are returned back\nby type (HTML data is \"text/html\", Objects are \"application/json\")",
|
|
4129
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4130
|
-
}
|
|
4131
|
-
}
|
|
4132
|
-
},
|
|
4133
|
-
"description": "Responses are determined by the returned value of the function\nitself. Binary responses (PDF's, screenshots) are returned back\nas binary data, and primitive JavaScript values are returned back\nby type (HTML data is \"text/html\", Objects are \"application/json\")"
|
|
4134
|
-
},
|
|
4135
|
-
"400": {
|
|
4136
|
-
"code": 400,
|
|
4137
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
4138
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
4139
|
-
},
|
|
4140
|
-
"401": {
|
|
4141
|
-
"code": 401,
|
|
4142
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
4143
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
4144
|
-
},
|
|
4145
|
-
"404": {
|
|
4146
|
-
"code": 404,
|
|
4147
|
-
"description": "Resource couldn't be found.",
|
|
4148
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
4149
|
-
},
|
|
4150
|
-
"408": {
|
|
4151
|
-
"code": 408,
|
|
4152
|
-
"description": "The request took has taken too long to process.",
|
|
4153
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
4154
|
-
},
|
|
4155
|
-
"429": {
|
|
4156
|
-
"code": 429,
|
|
4157
|
-
"description": "Too many requests are currently being processed.",
|
|
4158
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
4159
|
-
},
|
|
4160
|
-
"500": {
|
|
4161
|
-
"code": 500,
|
|
4162
|
-
"description": "An internal error occurred when handling the request.",
|
|
4163
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
4164
|
-
}
|
|
4165
|
-
},
|
|
4166
|
-
"summary": "/function /chromium/function",
|
|
4167
|
-
"tags": [
|
|
4168
|
-
"Browser REST APIs"
|
|
4169
|
-
]
|
|
4170
|
-
}
|
|
4171
|
-
},
|
|
4172
|
-
"/pdf /chromium/pdf": {
|
|
4173
|
-
"post": {
|
|
4174
|
-
"definitions": {},
|
|
4175
|
-
"description": "A JSON-based API for getting a PDF binary from either a supplied\n\"url\" or \"html\" payload in your request. Many options exist for\ninjecting cookies, request interceptors, user-agents and waiting for\nselectors, timers and more.",
|
|
4176
|
-
"parameters": [
|
|
4177
|
-
{
|
|
4178
|
-
"in": "query",
|
|
4179
|
-
"name": "blockAds",
|
|
4180
|
-
"schema": {
|
|
4181
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
4182
|
-
"type": "boolean"
|
|
4183
|
-
}
|
|
4184
|
-
},
|
|
4185
|
-
{
|
|
4186
|
-
"in": "query",
|
|
4187
|
-
"name": "launch",
|
|
4188
|
-
"schema": {
|
|
4189
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
4190
4229
|
"anyOf": [
|
|
4191
4230
|
{
|
|
4192
4231
|
"$ref": "#/definitions/CDPLaunchOptions"
|
|
@@ -4259,6 +4298,15 @@
|
|
|
4259
4298
|
"$ref": "#/definitions/CookieParam"
|
|
4260
4299
|
}
|
|
4261
4300
|
},
|
|
4301
|
+
"debugOpts": {
|
|
4302
|
+
"$ref": "#/definitions/ScrapeDebugOptions"
|
|
4303
|
+
},
|
|
4304
|
+
"elements": {
|
|
4305
|
+
"type": "array",
|
|
4306
|
+
"items": {
|
|
4307
|
+
"$ref": "#/definitions/ScrapeElementSelector"
|
|
4308
|
+
}
|
|
4309
|
+
},
|
|
4262
4310
|
"emulateMediaType": {
|
|
4263
4311
|
"type": "string"
|
|
4264
4312
|
},
|
|
@@ -4268,9 +4316,6 @@
|
|
|
4268
4316
|
"html": {
|
|
4269
4317
|
"type": "string"
|
|
4270
4318
|
},
|
|
4271
|
-
"options": {
|
|
4272
|
-
"$ref": "#/definitions/PDFOptions"
|
|
4273
|
-
},
|
|
4274
4319
|
"rejectRequestPattern": {
|
|
4275
4320
|
"type": "array",
|
|
4276
4321
|
"items": {
|
|
@@ -4415,445 +4460,12 @@
|
|
|
4415
4460
|
}
|
|
4416
4461
|
}
|
|
4417
4462
|
},
|
|
4418
|
-
"responses": {
|
|
4419
|
-
"200": {
|
|
4420
|
-
"content": {
|
|
4421
|
-
"application/pdf": {
|
|
4422
|
-
"schema": {
|
|
4423
|
-
"description": "Responds with an application/pdf content-type and a binary PDF",
|
|
4424
|
-
"type": "string",
|
|
4425
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4426
|
-
}
|
|
4427
|
-
}
|
|
4428
|
-
},
|
|
4429
|
-
"description": "Responds with an application/pdf content-type and a binary PDF"
|
|
4430
|
-
},
|
|
4431
|
-
"400": {
|
|
4432
|
-
"code": 400,
|
|
4433
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
4434
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
4435
|
-
},
|
|
4436
|
-
"401": {
|
|
4437
|
-
"code": 401,
|
|
4438
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
4439
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
4440
|
-
},
|
|
4441
|
-
"404": {
|
|
4442
|
-
"code": 404,
|
|
4443
|
-
"description": "Resource couldn't be found.",
|
|
4444
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
4445
|
-
},
|
|
4446
|
-
"408": {
|
|
4447
|
-
"code": 408,
|
|
4448
|
-
"description": "The request took has taken too long to process.",
|
|
4449
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
4450
|
-
},
|
|
4451
|
-
"429": {
|
|
4452
|
-
"code": 429,
|
|
4453
|
-
"description": "Too many requests are currently being processed.",
|
|
4454
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
4455
|
-
},
|
|
4456
|
-
"500": {
|
|
4457
|
-
"code": 500,
|
|
4458
|
-
"description": "An internal error occurred when handling the request.",
|
|
4459
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
4460
|
-
}
|
|
4461
|
-
},
|
|
4462
|
-
"summary": "/pdf /chromium/pdf",
|
|
4463
|
-
"tags": [
|
|
4464
|
-
"Browser REST APIs"
|
|
4465
|
-
]
|
|
4466
|
-
}
|
|
4467
|
-
},
|
|
4468
|
-
"/performance /chromium/performance": {
|
|
4469
|
-
"post": {
|
|
4470
|
-
"definitions": {},
|
|
4471
|
-
"description": "Run lighthouse performance audits with a supplied \"url\" in your JSON payload.",
|
|
4472
|
-
"parameters": [
|
|
4473
|
-
{
|
|
4474
|
-
"in": "query",
|
|
4475
|
-
"name": "blockAds",
|
|
4476
|
-
"schema": {
|
|
4477
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
4478
|
-
"type": "boolean"
|
|
4479
|
-
}
|
|
4480
|
-
},
|
|
4481
|
-
{
|
|
4482
|
-
"in": "query",
|
|
4483
|
-
"name": "launch",
|
|
4484
|
-
"schema": {
|
|
4485
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
4486
|
-
"anyOf": [
|
|
4487
|
-
{
|
|
4488
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
4489
|
-
},
|
|
4490
|
-
{
|
|
4491
|
-
"type": "string"
|
|
4492
|
-
}
|
|
4493
|
-
]
|
|
4494
|
-
}
|
|
4495
|
-
},
|
|
4496
|
-
{
|
|
4497
|
-
"in": "query",
|
|
4498
|
-
"name": "timeout",
|
|
4499
|
-
"schema": {
|
|
4500
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
4501
|
-
"type": "number"
|
|
4502
|
-
}
|
|
4503
|
-
},
|
|
4504
|
-
{
|
|
4505
|
-
"in": "query",
|
|
4506
|
-
"name": "token",
|
|
4507
|
-
"schema": {
|
|
4508
|
-
"description": "The authorization token",
|
|
4509
|
-
"type": "string"
|
|
4510
|
-
}
|
|
4511
|
-
},
|
|
4512
|
-
{
|
|
4513
|
-
"in": "query",
|
|
4514
|
-
"name": "trackingId",
|
|
4515
|
-
"schema": {
|
|
4516
|
-
"description": "Custom session identifier",
|
|
4517
|
-
"type": "string"
|
|
4518
|
-
}
|
|
4519
|
-
}
|
|
4520
|
-
],
|
|
4521
|
-
"requestBody": {
|
|
4522
|
-
"content": {
|
|
4523
|
-
"application/json": {
|
|
4524
|
-
"schema": {
|
|
4525
|
-
"properties": {
|
|
4526
|
-
"budgets": {
|
|
4527
|
-
"type": "array",
|
|
4528
|
-
"items": {
|
|
4529
|
-
"type": "object",
|
|
4530
|
-
"properties": {},
|
|
4531
|
-
"additionalProperties": true
|
|
4532
|
-
}
|
|
4533
|
-
},
|
|
4534
|
-
"config": {
|
|
4535
|
-
"type": "object",
|
|
4536
|
-
"properties": {},
|
|
4537
|
-
"additionalProperties": true
|
|
4538
|
-
},
|
|
4539
|
-
"url": {
|
|
4540
|
-
"type": "string"
|
|
4541
|
-
}
|
|
4542
|
-
},
|
|
4543
|
-
"type": "object"
|
|
4544
|
-
}
|
|
4545
|
-
}
|
|
4546
|
-
}
|
|
4547
|
-
},
|
|
4548
4463
|
"responses": {
|
|
4549
4464
|
"200": {
|
|
4550
4465
|
"content": {
|
|
4551
4466
|
"application/json": {
|
|
4552
4467
|
"schema": {
|
|
4553
|
-
"description": "The response
|
|
4554
|
-
"type": "object",
|
|
4555
|
-
"properties": {},
|
|
4556
|
-
"additionalProperties": true,
|
|
4557
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
4558
|
-
}
|
|
4559
|
-
}
|
|
4560
|
-
},
|
|
4561
|
-
"description": "The response of the lighthouse stats. Response objects are\ndetermined by the type of budgets and config in the POST\nJSON body"
|
|
4562
|
-
},
|
|
4563
|
-
"400": {
|
|
4564
|
-
"code": 400,
|
|
4565
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
4566
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
4567
|
-
},
|
|
4568
|
-
"401": {
|
|
4569
|
-
"code": 401,
|
|
4570
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
4571
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
4572
|
-
},
|
|
4573
|
-
"404": {
|
|
4574
|
-
"code": 404,
|
|
4575
|
-
"description": "Resource couldn't be found.",
|
|
4576
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
4577
|
-
},
|
|
4578
|
-
"408": {
|
|
4579
|
-
"code": 408,
|
|
4580
|
-
"description": "The request took has taken too long to process.",
|
|
4581
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
4582
|
-
},
|
|
4583
|
-
"429": {
|
|
4584
|
-
"code": 429,
|
|
4585
|
-
"description": "Too many requests are currently being processed.",
|
|
4586
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
4587
|
-
},
|
|
4588
|
-
"500": {
|
|
4589
|
-
"code": 500,
|
|
4590
|
-
"description": "An internal error occurred when handling the request.",
|
|
4591
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
4592
|
-
}
|
|
4593
|
-
},
|
|
4594
|
-
"summary": "/performance /chromium/performance",
|
|
4595
|
-
"tags": [
|
|
4596
|
-
"Browser REST APIs"
|
|
4597
|
-
]
|
|
4598
|
-
}
|
|
4599
|
-
},
|
|
4600
|
-
"/scrape /chromium/scrape": {
|
|
4601
|
-
"post": {
|
|
4602
|
-
"definitions": {},
|
|
4603
|
-
"description": "A JSON-based API that returns text, html, and meta-data from a given list of selectors.\nDebugging information is available by sending in the appropriate flags in the \"debugOpts\"\nproperty. Responds with an array of JSON objects.",
|
|
4604
|
-
"parameters": [
|
|
4605
|
-
{
|
|
4606
|
-
"in": "query",
|
|
4607
|
-
"name": "blockAds",
|
|
4608
|
-
"schema": {
|
|
4609
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
4610
|
-
"type": "boolean"
|
|
4611
|
-
}
|
|
4612
|
-
},
|
|
4613
|
-
{
|
|
4614
|
-
"in": "query",
|
|
4615
|
-
"name": "launch",
|
|
4616
|
-
"schema": {
|
|
4617
|
-
"anyOf": [
|
|
4618
|
-
{
|
|
4619
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
4620
|
-
},
|
|
4621
|
-
{
|
|
4622
|
-
"type": "string"
|
|
4623
|
-
}
|
|
4624
|
-
]
|
|
4625
|
-
}
|
|
4626
|
-
},
|
|
4627
|
-
{
|
|
4628
|
-
"in": "query",
|
|
4629
|
-
"name": "timeout",
|
|
4630
|
-
"schema": {
|
|
4631
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
4632
|
-
"type": "number"
|
|
4633
|
-
}
|
|
4634
|
-
},
|
|
4635
|
-
{
|
|
4636
|
-
"in": "query",
|
|
4637
|
-
"name": "token",
|
|
4638
|
-
"schema": {
|
|
4639
|
-
"description": "The authorization token",
|
|
4640
|
-
"type": "string"
|
|
4641
|
-
}
|
|
4642
|
-
},
|
|
4643
|
-
{
|
|
4644
|
-
"in": "query",
|
|
4645
|
-
"name": "trackingId",
|
|
4646
|
-
"schema": {
|
|
4647
|
-
"description": "Custom session identifier",
|
|
4648
|
-
"type": "string"
|
|
4649
|
-
}
|
|
4650
|
-
}
|
|
4651
|
-
],
|
|
4652
|
-
"requestBody": {
|
|
4653
|
-
"content": {
|
|
4654
|
-
"application/json": {
|
|
4655
|
-
"schema": {
|
|
4656
|
-
"properties": {
|
|
4657
|
-
"addScriptTag": {
|
|
4658
|
-
"type": "array",
|
|
4659
|
-
"items": {
|
|
4660
|
-
"$ref": "#/definitions/FrameAddScriptTagOptions"
|
|
4661
|
-
}
|
|
4662
|
-
},
|
|
4663
|
-
"addStyleTag": {
|
|
4664
|
-
"type": "array",
|
|
4665
|
-
"items": {
|
|
4666
|
-
"$ref": "#/definitions/FrameAddStyleTagOptions"
|
|
4667
|
-
}
|
|
4668
|
-
},
|
|
4669
|
-
"authenticate": {
|
|
4670
|
-
"anyOf": [
|
|
4671
|
-
{
|
|
4672
|
-
"$ref": "#/definitions/Credentials"
|
|
4673
|
-
},
|
|
4674
|
-
{
|
|
4675
|
-
"type": "null"
|
|
4676
|
-
}
|
|
4677
|
-
]
|
|
4678
|
-
},
|
|
4679
|
-
"bestAttempt": {
|
|
4680
|
-
"description": "When bestAttempt is set to true, browserless attempt to proceed\nwhen \"awaited\" events fail or timeout. This includes things like\ngoto, waitForSelector, and more.",
|
|
4681
|
-
"type": "boolean"
|
|
4682
|
-
},
|
|
4683
|
-
"cookies": {
|
|
4684
|
-
"type": "array",
|
|
4685
|
-
"items": {
|
|
4686
|
-
"$ref": "#/definitions/CookieParam"
|
|
4687
|
-
}
|
|
4688
|
-
},
|
|
4689
|
-
"debugOpts": {
|
|
4690
|
-
"$ref": "#/definitions/ScrapeDebugOptions"
|
|
4691
|
-
},
|
|
4692
|
-
"elements": {
|
|
4693
|
-
"type": "array",
|
|
4694
|
-
"items": {
|
|
4695
|
-
"$ref": "#/definitions/ScrapeElementSelector"
|
|
4696
|
-
}
|
|
4697
|
-
},
|
|
4698
|
-
"emulateMediaType": {
|
|
4699
|
-
"type": "string"
|
|
4700
|
-
},
|
|
4701
|
-
"gotoOptions": {
|
|
4702
|
-
"$ref": "#/definitions/GoToOptions"
|
|
4703
|
-
},
|
|
4704
|
-
"html": {
|
|
4705
|
-
"type": "string"
|
|
4706
|
-
},
|
|
4707
|
-
"rejectRequestPattern": {
|
|
4708
|
-
"type": "array",
|
|
4709
|
-
"items": {
|
|
4710
|
-
"type": "string"
|
|
4711
|
-
}
|
|
4712
|
-
},
|
|
4713
|
-
"rejectResourceTypes": {
|
|
4714
|
-
"type": "array",
|
|
4715
|
-
"items": {
|
|
4716
|
-
"enum": [
|
|
4717
|
-
"cspviolationreport",
|
|
4718
|
-
"document",
|
|
4719
|
-
"eventsource",
|
|
4720
|
-
"fetch",
|
|
4721
|
-
"font",
|
|
4722
|
-
"image",
|
|
4723
|
-
"manifest",
|
|
4724
|
-
"media",
|
|
4725
|
-
"other",
|
|
4726
|
-
"ping",
|
|
4727
|
-
"prefetch",
|
|
4728
|
-
"preflight",
|
|
4729
|
-
"script",
|
|
4730
|
-
"signedexchange",
|
|
4731
|
-
"stylesheet",
|
|
4732
|
-
"texttrack",
|
|
4733
|
-
"websocket",
|
|
4734
|
-
"xhr"
|
|
4735
|
-
],
|
|
4736
|
-
"type": "string"
|
|
4737
|
-
}
|
|
4738
|
-
},
|
|
4739
|
-
"requestInterceptors": {
|
|
4740
|
-
"type": "array",
|
|
4741
|
-
"items": {
|
|
4742
|
-
"description": "An array of patterns (using `req.url().match(r.pattern)` to match) and their\ncorresponding responses to use in order to fulfill those requests.",
|
|
4743
|
-
"type": "object",
|
|
4744
|
-
"properties": {
|
|
4745
|
-
"pattern": {
|
|
4746
|
-
"description": "An array of patterns (using `req.url().match(r.pattern)` to match) and their\ncorresponding responses to use in order to fulfill those requests.",
|
|
4747
|
-
"type": "string"
|
|
4748
|
-
},
|
|
4749
|
-
"response": {
|
|
4750
|
-
"$ref": "#/definitions/Partial<ResponseForRequest>"
|
|
4751
|
-
}
|
|
4752
|
-
},
|
|
4753
|
-
"additionalProperties": false,
|
|
4754
|
-
"required": [
|
|
4755
|
-
"pattern",
|
|
4756
|
-
"response"
|
|
4757
|
-
]
|
|
4758
|
-
}
|
|
4759
|
-
},
|
|
4760
|
-
"setExtraHTTPHeaders": {
|
|
4761
|
-
"$ref": "#/definitions/Record<string,string>"
|
|
4762
|
-
},
|
|
4763
|
-
"setJavaScriptEnabled": {
|
|
4764
|
-
"type": "boolean"
|
|
4765
|
-
},
|
|
4766
|
-
"url": {
|
|
4767
|
-
"type": "string"
|
|
4768
|
-
},
|
|
4769
|
-
"userAgent": {
|
|
4770
|
-
"type": "string"
|
|
4771
|
-
},
|
|
4772
|
-
"viewport": {
|
|
4773
|
-
"anyOf": [
|
|
4774
|
-
{
|
|
4775
|
-
"$ref": "#/definitions/Viewport"
|
|
4776
|
-
},
|
|
4777
|
-
{
|
|
4778
|
-
"type": "null"
|
|
4779
|
-
}
|
|
4780
|
-
]
|
|
4781
|
-
},
|
|
4782
|
-
"waitForEvent": {
|
|
4783
|
-
"type": "object",
|
|
4784
|
-
"properties": {
|
|
4785
|
-
"event": {
|
|
4786
|
-
"type": "string"
|
|
4787
|
-
},
|
|
4788
|
-
"timeout": {
|
|
4789
|
-
"type": "number"
|
|
4790
|
-
}
|
|
4791
|
-
},
|
|
4792
|
-
"additionalProperties": false,
|
|
4793
|
-
"required": [
|
|
4794
|
-
"event"
|
|
4795
|
-
]
|
|
4796
|
-
},
|
|
4797
|
-
"waitForFunction": {
|
|
4798
|
-
"type": "object",
|
|
4799
|
-
"properties": {
|
|
4800
|
-
"fn": {
|
|
4801
|
-
"description": "The function, or statement, to be evaluated in browser context",
|
|
4802
|
-
"type": "string"
|
|
4803
|
-
},
|
|
4804
|
-
"polling": {
|
|
4805
|
-
"description": "An interval at which the pageFunction is executed, defaults to raf.\nIf polling is a number, then it is treated as an interval in milliseconds\nat which the function would be executed. If polling is a string,\nthen it can be one of the following values: \"raf\" or \"mutation\"",
|
|
4806
|
-
"type": [
|
|
4807
|
-
"string",
|
|
4808
|
-
"number"
|
|
4809
|
-
]
|
|
4810
|
-
},
|
|
4811
|
-
"timeout": {
|
|
4812
|
-
"description": "Maximum time to wait for in milliseconds. Defaults to 30000 (30 seconds).\nPass 0 to disable timeout.",
|
|
4813
|
-
"type": "number"
|
|
4814
|
-
}
|
|
4815
|
-
},
|
|
4816
|
-
"additionalProperties": false,
|
|
4817
|
-
"required": [
|
|
4818
|
-
"fn"
|
|
4819
|
-
]
|
|
4820
|
-
},
|
|
4821
|
-
"waitForSelector": {
|
|
4822
|
-
"type": "object",
|
|
4823
|
-
"properties": {
|
|
4824
|
-
"hidden": {
|
|
4825
|
-
"type": "boolean"
|
|
4826
|
-
},
|
|
4827
|
-
"selector": {
|
|
4828
|
-
"type": "string"
|
|
4829
|
-
},
|
|
4830
|
-
"timeout": {
|
|
4831
|
-
"type": "number"
|
|
4832
|
-
},
|
|
4833
|
-
"visible": {
|
|
4834
|
-
"type": "boolean"
|
|
4835
|
-
}
|
|
4836
|
-
},
|
|
4837
|
-
"additionalProperties": false,
|
|
4838
|
-
"required": [
|
|
4839
|
-
"selector"
|
|
4840
|
-
]
|
|
4841
|
-
},
|
|
4842
|
-
"waitForTimeout": {
|
|
4843
|
-
"type": "number"
|
|
4844
|
-
}
|
|
4845
|
-
},
|
|
4846
|
-
"type": "object"
|
|
4847
|
-
}
|
|
4848
|
-
}
|
|
4849
|
-
}
|
|
4850
|
-
},
|
|
4851
|
-
"responses": {
|
|
4852
|
-
"200": {
|
|
4853
|
-
"content": {
|
|
4854
|
-
"application/json": {
|
|
4855
|
-
"schema": {
|
|
4856
|
-
"description": "The JSON response body",
|
|
4468
|
+
"description": "The JSON response body",
|
|
4857
4469
|
"type": "object",
|
|
4858
4470
|
"properties": {
|
|
4859
4471
|
"data": {
|
|
@@ -5221,16 +4833,16 @@
|
|
|
5221
4833
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
5222
4834
|
}
|
|
5223
4835
|
},
|
|
5224
|
-
"summary": "/
|
|
4836
|
+
"summary": "/chromium/scrape",
|
|
5225
4837
|
"tags": [
|
|
5226
4838
|
"Browser REST APIs"
|
|
5227
4839
|
]
|
|
5228
4840
|
}
|
|
5229
4841
|
},
|
|
5230
|
-
"/
|
|
4842
|
+
"/chromium/screenshot": {
|
|
5231
4843
|
"post": {
|
|
5232
4844
|
"definitions": {},
|
|
5233
|
-
"description": "A JSON-based API for getting a screenshot binary from either a supplied\n\"url\" or \"html\" payload in your request. Many options exist including\ncookies, user-agents, setting timers and network mocks.",
|
|
4845
|
+
"description": "A JSON-based API for getting a screenshot binary from either a supplied\n\"url\" or \"html\" payload in your request. Many options exist including\ncookies, user-agents, setting timers and network mocks.\n\n**Note:** This endpoint is also available at: `/screenshot` for backwards compatibility.",
|
|
5234
4846
|
"parameters": [
|
|
5235
4847
|
{
|
|
5236
4848
|
"in": "query",
|
|
@@ -5531,210 +5143,16 @@
|
|
|
5531
5143
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
5532
5144
|
}
|
|
5533
5145
|
},
|
|
5534
|
-
"summary": "/
|
|
5146
|
+
"summary": "/chromium/screenshot",
|
|
5535
5147
|
"tags": [
|
|
5536
5148
|
"Browser REST APIs"
|
|
5537
5149
|
]
|
|
5538
5150
|
}
|
|
5539
5151
|
},
|
|
5540
|
-
"
|
|
5541
|
-
"
|
|
5152
|
+
"/edge/content": {
|
|
5153
|
+
"post": {
|
|
5542
5154
|
"definitions": {},
|
|
5543
|
-
"description": "
|
|
5544
|
-
"parameters": [
|
|
5545
|
-
{
|
|
5546
|
-
"in": "query",
|
|
5547
|
-
"name": "blockAds",
|
|
5548
|
-
"schema": {
|
|
5549
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
5550
|
-
"type": "boolean"
|
|
5551
|
-
}
|
|
5552
|
-
},
|
|
5553
|
-
{
|
|
5554
|
-
"in": "query",
|
|
5555
|
-
"name": "launch",
|
|
5556
|
-
"schema": {
|
|
5557
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
5558
|
-
"anyOf": [
|
|
5559
|
-
{
|
|
5560
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
5561
|
-
},
|
|
5562
|
-
{
|
|
5563
|
-
"type": "string"
|
|
5564
|
-
}
|
|
5565
|
-
]
|
|
5566
|
-
}
|
|
5567
|
-
},
|
|
5568
|
-
{
|
|
5569
|
-
"in": "query",
|
|
5570
|
-
"name": "timeout",
|
|
5571
|
-
"schema": {
|
|
5572
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
5573
|
-
"type": "number"
|
|
5574
|
-
}
|
|
5575
|
-
},
|
|
5576
|
-
{
|
|
5577
|
-
"in": "query",
|
|
5578
|
-
"name": "token",
|
|
5579
|
-
"schema": {
|
|
5580
|
-
"description": "The authorization token",
|
|
5581
|
-
"type": "string"
|
|
5582
|
-
}
|
|
5583
|
-
},
|
|
5584
|
-
{
|
|
5585
|
-
"in": "query",
|
|
5586
|
-
"name": "trackingId",
|
|
5587
|
-
"schema": {
|
|
5588
|
-
"description": "Custom session identifier",
|
|
5589
|
-
"type": "string"
|
|
5590
|
-
}
|
|
5591
|
-
}
|
|
5592
|
-
],
|
|
5593
|
-
"requestBody": {
|
|
5594
|
-
"content": {}
|
|
5595
|
-
},
|
|
5596
|
-
"responses": {
|
|
5597
|
-
"101": {
|
|
5598
|
-
"description": "Indicates successful WebSocket upgrade."
|
|
5599
|
-
},
|
|
5600
|
-
"400": {
|
|
5601
|
-
"code": 400,
|
|
5602
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
5603
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
5604
|
-
},
|
|
5605
|
-
"401": {
|
|
5606
|
-
"code": 401,
|
|
5607
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
5608
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
5609
|
-
},
|
|
5610
|
-
"404": {
|
|
5611
|
-
"code": 404,
|
|
5612
|
-
"description": "Resource couldn't be found.",
|
|
5613
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
5614
|
-
},
|
|
5615
|
-
"408": {
|
|
5616
|
-
"code": 408,
|
|
5617
|
-
"description": "The request took has taken too long to process.",
|
|
5618
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
5619
|
-
},
|
|
5620
|
-
"429": {
|
|
5621
|
-
"code": 429,
|
|
5622
|
-
"description": "Too many requests are currently being processed.",
|
|
5623
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
5624
|
-
},
|
|
5625
|
-
"500": {
|
|
5626
|
-
"code": 500,
|
|
5627
|
-
"description": "An internal error occurred when handling the request.",
|
|
5628
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
5629
|
-
}
|
|
5630
|
-
},
|
|
5631
|
-
"summary": " /chromium",
|
|
5632
|
-
"tags": [
|
|
5633
|
-
"Browser WebSocket APIs"
|
|
5634
|
-
]
|
|
5635
|
-
}
|
|
5636
|
-
},
|
|
5637
|
-
"/playwright/chromium /chromium/playwright": {
|
|
5638
|
-
"get": {
|
|
5639
|
-
"definitions": {},
|
|
5640
|
-
"description": "Connect to Chromium with any playwright style library.",
|
|
5641
|
-
"parameters": [
|
|
5642
|
-
{
|
|
5643
|
-
"in": "query",
|
|
5644
|
-
"name": "blockAds",
|
|
5645
|
-
"schema": {
|
|
5646
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
5647
|
-
"type": "boolean"
|
|
5648
|
-
}
|
|
5649
|
-
},
|
|
5650
|
-
{
|
|
5651
|
-
"in": "query",
|
|
5652
|
-
"name": "launch",
|
|
5653
|
-
"schema": {
|
|
5654
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
5655
|
-
"anyOf": [
|
|
5656
|
-
{
|
|
5657
|
-
"$ref": "#/definitions/BrowserServerOptions"
|
|
5658
|
-
},
|
|
5659
|
-
{
|
|
5660
|
-
"type": "string"
|
|
5661
|
-
}
|
|
5662
|
-
]
|
|
5663
|
-
}
|
|
5664
|
-
},
|
|
5665
|
-
{
|
|
5666
|
-
"in": "query",
|
|
5667
|
-
"name": "timeout",
|
|
5668
|
-
"schema": {
|
|
5669
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
5670
|
-
"type": "number"
|
|
5671
|
-
}
|
|
5672
|
-
},
|
|
5673
|
-
{
|
|
5674
|
-
"in": "query",
|
|
5675
|
-
"name": "token",
|
|
5676
|
-
"schema": {
|
|
5677
|
-
"description": "The authorization token",
|
|
5678
|
-
"type": "string"
|
|
5679
|
-
}
|
|
5680
|
-
},
|
|
5681
|
-
{
|
|
5682
|
-
"in": "query",
|
|
5683
|
-
"name": "trackingId",
|
|
5684
|
-
"schema": {
|
|
5685
|
-
"description": "Custom session identifier",
|
|
5686
|
-
"type": "string"
|
|
5687
|
-
}
|
|
5688
|
-
}
|
|
5689
|
-
],
|
|
5690
|
-
"requestBody": {
|
|
5691
|
-
"content": {}
|
|
5692
|
-
},
|
|
5693
|
-
"responses": {
|
|
5694
|
-
"101": {
|
|
5695
|
-
"description": "Indicates successful WebSocket upgrade."
|
|
5696
|
-
},
|
|
5697
|
-
"400": {
|
|
5698
|
-
"code": 400,
|
|
5699
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
5700
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
5701
|
-
},
|
|
5702
|
-
"401": {
|
|
5703
|
-
"code": 401,
|
|
5704
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
5705
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
5706
|
-
},
|
|
5707
|
-
"404": {
|
|
5708
|
-
"code": 404,
|
|
5709
|
-
"description": "Resource couldn't be found.",
|
|
5710
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
5711
|
-
},
|
|
5712
|
-
"408": {
|
|
5713
|
-
"code": 408,
|
|
5714
|
-
"description": "The request took has taken too long to process.",
|
|
5715
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
5716
|
-
},
|
|
5717
|
-
"429": {
|
|
5718
|
-
"code": 429,
|
|
5719
|
-
"description": "Too many requests are currently being processed.",
|
|
5720
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
5721
|
-
},
|
|
5722
|
-
"500": {
|
|
5723
|
-
"code": 500,
|
|
5724
|
-
"description": "An internal error occurred when handling the request.",
|
|
5725
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
5726
|
-
}
|
|
5727
|
-
},
|
|
5728
|
-
"summary": "/playwright/chromium /chromium/playwright",
|
|
5729
|
-
"tags": [
|
|
5730
|
-
"Browser WebSocket APIs"
|
|
5731
|
-
]
|
|
5732
|
-
}
|
|
5733
|
-
},
|
|
5734
|
-
"/edge/content": {
|
|
5735
|
-
"post": {
|
|
5736
|
-
"definitions": {},
|
|
5737
|
-
"description": "A JSON-based API. Given a \"url\" or \"html\" field, runs and returns HTML content after the page has loaded and JavaScript has parsed.",
|
|
5155
|
+
"description": "A JSON-based API. Given a \"url\" or \"html\" field, runs and returns HTML content after the page has loaded and JavaScript has parsed.",
|
|
5738
5156
|
"parameters": [
|
|
5739
5157
|
{
|
|
5740
5158
|
"in": "query",
|
|
@@ -7624,66 +7042,15 @@
|
|
|
7624
7042
|
]
|
|
7625
7043
|
}
|
|
7626
7044
|
},
|
|
7627
|
-
"/
|
|
7045
|
+
"/active": {
|
|
7628
7046
|
"get": {
|
|
7629
7047
|
"definitions": {},
|
|
7630
|
-
"description": "
|
|
7631
|
-
"parameters": [
|
|
7632
|
-
{
|
|
7633
|
-
"in": "query",
|
|
7634
|
-
"name": "blockAds",
|
|
7635
|
-
"schema": {
|
|
7636
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7637
|
-
"type": "boolean"
|
|
7638
|
-
}
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
"in": "query",
|
|
7642
|
-
"name": "launch",
|
|
7643
|
-
"schema": {
|
|
7644
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7645
|
-
"anyOf": [
|
|
7646
|
-
{
|
|
7647
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7648
|
-
},
|
|
7649
|
-
{
|
|
7650
|
-
"type": "string"
|
|
7651
|
-
}
|
|
7652
|
-
]
|
|
7653
|
-
}
|
|
7654
|
-
},
|
|
7655
|
-
{
|
|
7656
|
-
"in": "query",
|
|
7657
|
-
"name": "timeout",
|
|
7658
|
-
"schema": {
|
|
7659
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7660
|
-
"type": "number"
|
|
7661
|
-
}
|
|
7662
|
-
},
|
|
7663
|
-
{
|
|
7664
|
-
"in": "query",
|
|
7665
|
-
"name": "token",
|
|
7666
|
-
"schema": {
|
|
7667
|
-
"description": "The authorization token",
|
|
7668
|
-
"type": "string"
|
|
7669
|
-
}
|
|
7670
|
-
},
|
|
7671
|
-
{
|
|
7672
|
-
"in": "query",
|
|
7673
|
-
"name": "trackingId",
|
|
7674
|
-
"schema": {
|
|
7675
|
-
"description": "Custom session identifier",
|
|
7676
|
-
"type": "string"
|
|
7677
|
-
}
|
|
7678
|
-
}
|
|
7679
|
-
],
|
|
7048
|
+
"description": "Returns a simple \"204\" HTTP code, with no response, indicating that the service itself is up and running.\nUseful for liveliness probes or other external checks.",
|
|
7049
|
+
"parameters": [],
|
|
7680
7050
|
"requestBody": {
|
|
7681
7051
|
"content": {}
|
|
7682
7052
|
},
|
|
7683
7053
|
"responses": {
|
|
7684
|
-
"101": {
|
|
7685
|
-
"description": "Indicates successful WebSocket upgrade."
|
|
7686
|
-
},
|
|
7687
7054
|
"400": {
|
|
7688
7055
|
"code": 400,
|
|
7689
7056
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -7715,317 +7082,13 @@
|
|
|
7715
7082
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7716
7083
|
}
|
|
7717
7084
|
},
|
|
7718
|
-
"summary": "/
|
|
7085
|
+
"summary": "/active",
|
|
7719
7086
|
"tags": [
|
|
7720
|
-
"
|
|
7087
|
+
"Management REST APIs"
|
|
7721
7088
|
]
|
|
7722
7089
|
}
|
|
7723
7090
|
},
|
|
7724
|
-
"/
|
|
7725
|
-
"get": {
|
|
7726
|
-
"definitions": {},
|
|
7727
|
-
"description": "Connect to Chromium with any playwright style library.",
|
|
7728
|
-
"parameters": [
|
|
7729
|
-
{
|
|
7730
|
-
"in": "query",
|
|
7731
|
-
"name": "blockAds",
|
|
7732
|
-
"schema": {
|
|
7733
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7734
|
-
"type": "boolean"
|
|
7735
|
-
}
|
|
7736
|
-
},
|
|
7737
|
-
{
|
|
7738
|
-
"in": "query",
|
|
7739
|
-
"name": "launch",
|
|
7740
|
-
"schema": {
|
|
7741
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7742
|
-
"anyOf": [
|
|
7743
|
-
{
|
|
7744
|
-
"$ref": "#/definitions/BrowserServerOptions"
|
|
7745
|
-
},
|
|
7746
|
-
{
|
|
7747
|
-
"type": "string"
|
|
7748
|
-
}
|
|
7749
|
-
]
|
|
7750
|
-
}
|
|
7751
|
-
},
|
|
7752
|
-
{
|
|
7753
|
-
"in": "query",
|
|
7754
|
-
"name": "timeout",
|
|
7755
|
-
"schema": {
|
|
7756
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7757
|
-
"type": "number"
|
|
7758
|
-
}
|
|
7759
|
-
},
|
|
7760
|
-
{
|
|
7761
|
-
"in": "query",
|
|
7762
|
-
"name": "token",
|
|
7763
|
-
"schema": {
|
|
7764
|
-
"description": "The authorization token",
|
|
7765
|
-
"type": "string"
|
|
7766
|
-
}
|
|
7767
|
-
},
|
|
7768
|
-
{
|
|
7769
|
-
"in": "query",
|
|
7770
|
-
"name": "trackingId",
|
|
7771
|
-
"schema": {
|
|
7772
|
-
"description": "Custom session identifier",
|
|
7773
|
-
"type": "string"
|
|
7774
|
-
}
|
|
7775
|
-
}
|
|
7776
|
-
],
|
|
7777
|
-
"requestBody": {
|
|
7778
|
-
"content": {}
|
|
7779
|
-
},
|
|
7780
|
-
"responses": {
|
|
7781
|
-
"101": {
|
|
7782
|
-
"description": "Indicates successful WebSocket upgrade."
|
|
7783
|
-
},
|
|
7784
|
-
"400": {
|
|
7785
|
-
"code": 400,
|
|
7786
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
7787
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
7788
|
-
},
|
|
7789
|
-
"401": {
|
|
7790
|
-
"code": 401,
|
|
7791
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7792
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
7793
|
-
},
|
|
7794
|
-
"404": {
|
|
7795
|
-
"code": 404,
|
|
7796
|
-
"description": "Resource couldn't be found.",
|
|
7797
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
7798
|
-
},
|
|
7799
|
-
"408": {
|
|
7800
|
-
"code": 408,
|
|
7801
|
-
"description": "The request took has taken too long to process.",
|
|
7802
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
7803
|
-
},
|
|
7804
|
-
"429": {
|
|
7805
|
-
"code": 429,
|
|
7806
|
-
"description": "Too many requests are currently being processed.",
|
|
7807
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7808
|
-
},
|
|
7809
|
-
"500": {
|
|
7810
|
-
"code": 500,
|
|
7811
|
-
"description": "An internal error occurred when handling the request.",
|
|
7812
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7813
|
-
}
|
|
7814
|
-
},
|
|
7815
|
-
"summary": "/edge/playwright",
|
|
7816
|
-
"tags": [
|
|
7817
|
-
"Browser WebSocket APIs"
|
|
7818
|
-
]
|
|
7819
|
-
}
|
|
7820
|
-
},
|
|
7821
|
-
"/playwright/firefox /firefox/playwright": {
|
|
7822
|
-
"get": {
|
|
7823
|
-
"definitions": {},
|
|
7824
|
-
"description": "Connect to Firefox with any playwright-compliant library.",
|
|
7825
|
-
"parameters": [
|
|
7826
|
-
{
|
|
7827
|
-
"in": "query",
|
|
7828
|
-
"name": "blockAds",
|
|
7829
|
-
"schema": {
|
|
7830
|
-
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7831
|
-
"type": "boolean"
|
|
7832
|
-
}
|
|
7833
|
-
},
|
|
7834
|
-
{
|
|
7835
|
-
"in": "query",
|
|
7836
|
-
"name": "launch",
|
|
7837
|
-
"schema": {
|
|
7838
|
-
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7839
|
-
"additionalProperties": false,
|
|
7840
|
-
"type": "object",
|
|
7841
|
-
"properties": {
|
|
7842
|
-
"args": {
|
|
7843
|
-
"type": "array",
|
|
7844
|
-
"items": {
|
|
7845
|
-
"type": "string"
|
|
7846
|
-
}
|
|
7847
|
-
},
|
|
7848
|
-
"chromiumSandbox": {
|
|
7849
|
-
"type": "boolean"
|
|
7850
|
-
},
|
|
7851
|
-
"devtools": {
|
|
7852
|
-
"type": "boolean"
|
|
7853
|
-
},
|
|
7854
|
-
"downloadsPath": {
|
|
7855
|
-
"type": "string"
|
|
7856
|
-
},
|
|
7857
|
-
"headless": {
|
|
7858
|
-
"type": "boolean"
|
|
7859
|
-
},
|
|
7860
|
-
"ignoreDefaultArgs": {
|
|
7861
|
-
"anyOf": [
|
|
7862
|
-
{
|
|
7863
|
-
"type": "array",
|
|
7864
|
-
"items": {
|
|
7865
|
-
"type": "string"
|
|
7866
|
-
}
|
|
7867
|
-
},
|
|
7868
|
-
{
|
|
7869
|
-
"type": "boolean"
|
|
7870
|
-
}
|
|
7871
|
-
]
|
|
7872
|
-
},
|
|
7873
|
-
"proxy": {
|
|
7874
|
-
"type": "object",
|
|
7875
|
-
"properties": {
|
|
7876
|
-
"bypass": {
|
|
7877
|
-
"type": "string"
|
|
7878
|
-
},
|
|
7879
|
-
"password": {
|
|
7880
|
-
"type": "string"
|
|
7881
|
-
},
|
|
7882
|
-
"server": {
|
|
7883
|
-
"type": "string"
|
|
7884
|
-
},
|
|
7885
|
-
"username": {
|
|
7886
|
-
"type": "string"
|
|
7887
|
-
}
|
|
7888
|
-
},
|
|
7889
|
-
"additionalProperties": false,
|
|
7890
|
-
"required": [
|
|
7891
|
-
"server"
|
|
7892
|
-
]
|
|
7893
|
-
},
|
|
7894
|
-
"timeout": {
|
|
7895
|
-
"type": "number"
|
|
7896
|
-
},
|
|
7897
|
-
"tracesDir": {
|
|
7898
|
-
"type": "string"
|
|
7899
|
-
},
|
|
7900
|
-
"firefoxUserPrefs": {
|
|
7901
|
-
"type": "object",
|
|
7902
|
-
"additionalProperties": {
|
|
7903
|
-
"type": [
|
|
7904
|
-
"string",
|
|
7905
|
-
"number",
|
|
7906
|
-
"boolean"
|
|
7907
|
-
]
|
|
7908
|
-
}
|
|
7909
|
-
}
|
|
7910
|
-
}
|
|
7911
|
-
}
|
|
7912
|
-
},
|
|
7913
|
-
{
|
|
7914
|
-
"in": "query",
|
|
7915
|
-
"name": "timeout",
|
|
7916
|
-
"schema": {
|
|
7917
|
-
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7918
|
-
"type": "number"
|
|
7919
|
-
}
|
|
7920
|
-
},
|
|
7921
|
-
{
|
|
7922
|
-
"in": "query",
|
|
7923
|
-
"name": "token",
|
|
7924
|
-
"schema": {
|
|
7925
|
-
"description": "The authorization token",
|
|
7926
|
-
"type": "string"
|
|
7927
|
-
}
|
|
7928
|
-
},
|
|
7929
|
-
{
|
|
7930
|
-
"in": "query",
|
|
7931
|
-
"name": "trackingId",
|
|
7932
|
-
"schema": {
|
|
7933
|
-
"description": "Custom session identifier",
|
|
7934
|
-
"type": "string"
|
|
7935
|
-
}
|
|
7936
|
-
}
|
|
7937
|
-
],
|
|
7938
|
-
"requestBody": {
|
|
7939
|
-
"content": {}
|
|
7940
|
-
},
|
|
7941
|
-
"responses": {
|
|
7942
|
-
"101": {
|
|
7943
|
-
"description": "Indicates successful WebSocket upgrade."
|
|
7944
|
-
},
|
|
7945
|
-
"400": {
|
|
7946
|
-
"code": 400,
|
|
7947
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
7948
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
7949
|
-
},
|
|
7950
|
-
"401": {
|
|
7951
|
-
"code": 401,
|
|
7952
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7953
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
7954
|
-
},
|
|
7955
|
-
"404": {
|
|
7956
|
-
"code": 404,
|
|
7957
|
-
"description": "Resource couldn't be found.",
|
|
7958
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
7959
|
-
},
|
|
7960
|
-
"408": {
|
|
7961
|
-
"code": 408,
|
|
7962
|
-
"description": "The request took has taken too long to process.",
|
|
7963
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
7964
|
-
},
|
|
7965
|
-
"429": {
|
|
7966
|
-
"code": 429,
|
|
7967
|
-
"description": "Too many requests are currently being processed.",
|
|
7968
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7969
|
-
},
|
|
7970
|
-
"500": {
|
|
7971
|
-
"code": 500,
|
|
7972
|
-
"description": "An internal error occurred when handling the request.",
|
|
7973
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7974
|
-
}
|
|
7975
|
-
},
|
|
7976
|
-
"summary": "/playwright/firefox /firefox/playwright",
|
|
7977
|
-
"tags": [
|
|
7978
|
-
"Browser WebSocket APIs"
|
|
7979
|
-
]
|
|
7980
|
-
}
|
|
7981
|
-
},
|
|
7982
|
-
"/active": {
|
|
7983
|
-
"get": {
|
|
7984
|
-
"definitions": {},
|
|
7985
|
-
"description": "Returns a simple \"204\" HTTP code, with no response, indicating that the service itself is up and running.\nUseful for liveliness probes or other external checks.",
|
|
7986
|
-
"parameters": [],
|
|
7987
|
-
"requestBody": {
|
|
7988
|
-
"content": {}
|
|
7989
|
-
},
|
|
7990
|
-
"responses": {
|
|
7991
|
-
"400": {
|
|
7992
|
-
"code": 400,
|
|
7993
|
-
"description": "The request contains errors or didn't properly encode content.",
|
|
7994
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
7995
|
-
},
|
|
7996
|
-
"401": {
|
|
7997
|
-
"code": 401,
|
|
7998
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7999
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
8000
|
-
},
|
|
8001
|
-
"404": {
|
|
8002
|
-
"code": 404,
|
|
8003
|
-
"description": "Resource couldn't be found.",
|
|
8004
|
-
"message": "HTTP/1.1 404 Not Found"
|
|
8005
|
-
},
|
|
8006
|
-
"408": {
|
|
8007
|
-
"code": 408,
|
|
8008
|
-
"description": "The request took has taken too long to process.",
|
|
8009
|
-
"message": "HTTP/1.1 408 Request Timeout"
|
|
8010
|
-
},
|
|
8011
|
-
"429": {
|
|
8012
|
-
"code": 429,
|
|
8013
|
-
"description": "Too many requests are currently being processed.",
|
|
8014
|
-
"message": "HTTP/1.1 429 Too Many Requests"
|
|
8015
|
-
},
|
|
8016
|
-
"500": {
|
|
8017
|
-
"code": 500,
|
|
8018
|
-
"description": "An internal error occurred when handling the request.",
|
|
8019
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8020
|
-
}
|
|
8021
|
-
},
|
|
8022
|
-
"summary": "/active",
|
|
8023
|
-
"tags": [
|
|
8024
|
-
"Management REST APIs"
|
|
8025
|
-
]
|
|
8026
|
-
}
|
|
8027
|
-
},
|
|
8028
|
-
"/config": {
|
|
7091
|
+
"/config": {
|
|
8029
7092
|
"get": {
|
|
8030
7093
|
"definitions": {},
|
|
8031
7094
|
"description": "Returns a JSON payload of the current system configuration.",
|
|
@@ -8434,27 +7497,803 @@
|
|
|
8434
7497
|
"description": "Too many requests are currently being processed.",
|
|
8435
7498
|
"message": "HTTP/1.1 429 Too Many Requests"
|
|
8436
7499
|
},
|
|
8437
|
-
"500": {
|
|
8438
|
-
"code": 500,
|
|
8439
|
-
"description": "An internal error occurred when handling the request.",
|
|
8440
|
-
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7500
|
+
"500": {
|
|
7501
|
+
"code": 500,
|
|
7502
|
+
"description": "An internal error occurred when handling the request.",
|
|
7503
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7504
|
+
}
|
|
7505
|
+
},
|
|
7506
|
+
"summary": "/metrics/total",
|
|
7507
|
+
"tags": [
|
|
7508
|
+
"Management REST APIs"
|
|
7509
|
+
]
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7512
|
+
"/metrics": {
|
|
7513
|
+
"get": {
|
|
7514
|
+
"definitions": {},
|
|
7515
|
+
"description": "Returns a list of metric details as far back as possible.",
|
|
7516
|
+
"parameters": [],
|
|
7517
|
+
"requestBody": {
|
|
7518
|
+
"content": {}
|
|
7519
|
+
},
|
|
7520
|
+
"responses": {
|
|
7521
|
+
"400": {
|
|
7522
|
+
"code": 400,
|
|
7523
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7524
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7525
|
+
},
|
|
7526
|
+
"401": {
|
|
7527
|
+
"code": 401,
|
|
7528
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7529
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7530
|
+
},
|
|
7531
|
+
"404": {
|
|
7532
|
+
"code": 404,
|
|
7533
|
+
"description": "Resource couldn't be found.",
|
|
7534
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7535
|
+
},
|
|
7536
|
+
"408": {
|
|
7537
|
+
"code": 408,
|
|
7538
|
+
"description": "The request took has taken too long to process.",
|
|
7539
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7540
|
+
},
|
|
7541
|
+
"429": {
|
|
7542
|
+
"code": 429,
|
|
7543
|
+
"description": "Too many requests are currently being processed.",
|
|
7544
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7545
|
+
},
|
|
7546
|
+
"500": {
|
|
7547
|
+
"code": 500,
|
|
7548
|
+
"description": "An internal error occurred when handling the request.",
|
|
7549
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7550
|
+
}
|
|
7551
|
+
},
|
|
7552
|
+
"summary": "/metrics",
|
|
7553
|
+
"tags": [
|
|
7554
|
+
"Management REST APIs"
|
|
7555
|
+
]
|
|
7556
|
+
}
|
|
7557
|
+
},
|
|
7558
|
+
"/pressure": {
|
|
7559
|
+
"get": {
|
|
7560
|
+
"definitions": {},
|
|
7561
|
+
"description": "Returns a JSON body of stats related to the pressure being created on the instance.",
|
|
7562
|
+
"parameters": [],
|
|
7563
|
+
"requestBody": {
|
|
7564
|
+
"content": {}
|
|
7565
|
+
},
|
|
7566
|
+
"responses": {
|
|
7567
|
+
"400": {
|
|
7568
|
+
"code": 400,
|
|
7569
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7570
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7571
|
+
},
|
|
7572
|
+
"401": {
|
|
7573
|
+
"code": 401,
|
|
7574
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7575
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7576
|
+
},
|
|
7577
|
+
"404": {
|
|
7578
|
+
"code": 404,
|
|
7579
|
+
"description": "Resource couldn't be found.",
|
|
7580
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7581
|
+
},
|
|
7582
|
+
"408": {
|
|
7583
|
+
"code": 408,
|
|
7584
|
+
"description": "The request took has taken too long to process.",
|
|
7585
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7586
|
+
},
|
|
7587
|
+
"429": {
|
|
7588
|
+
"code": 429,
|
|
7589
|
+
"description": "Too many requests are currently being processed.",
|
|
7590
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7591
|
+
},
|
|
7592
|
+
"500": {
|
|
7593
|
+
"code": 500,
|
|
7594
|
+
"description": "An internal error occurred when handling the request.",
|
|
7595
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7596
|
+
}
|
|
7597
|
+
},
|
|
7598
|
+
"summary": "/pressure",
|
|
7599
|
+
"tags": [
|
|
7600
|
+
"Management REST APIs"
|
|
7601
|
+
]
|
|
7602
|
+
}
|
|
7603
|
+
},
|
|
7604
|
+
"/sessions": {
|
|
7605
|
+
"get": {
|
|
7606
|
+
"definitions": {},
|
|
7607
|
+
"description": "Lists all currently running sessions and relevant meta-data excluding potentially open pages.",
|
|
7608
|
+
"parameters": [
|
|
7609
|
+
{
|
|
7610
|
+
"in": "query",
|
|
7611
|
+
"name": "token",
|
|
7612
|
+
"required": true,
|
|
7613
|
+
"schema": {
|
|
7614
|
+
"description": "The authorization token",
|
|
7615
|
+
"type": "string"
|
|
7616
|
+
}
|
|
7617
|
+
},
|
|
7618
|
+
{
|
|
7619
|
+
"in": "query",
|
|
7620
|
+
"name": "blockAds",
|
|
7621
|
+
"required": false,
|
|
7622
|
+
"schema": {
|
|
7623
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7624
|
+
"type": "boolean"
|
|
7625
|
+
}
|
|
7626
|
+
},
|
|
7627
|
+
{
|
|
7628
|
+
"in": "query",
|
|
7629
|
+
"name": "launch",
|
|
7630
|
+
"required": false,
|
|
7631
|
+
"schema": {
|
|
7632
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7633
|
+
"anyOf": [
|
|
7634
|
+
{
|
|
7635
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7636
|
+
},
|
|
7637
|
+
{
|
|
7638
|
+
"$ref": "#/definitions/BrowserServerOptions"
|
|
7639
|
+
},
|
|
7640
|
+
{
|
|
7641
|
+
"type": "string"
|
|
7642
|
+
}
|
|
7643
|
+
]
|
|
7644
|
+
}
|
|
7645
|
+
},
|
|
7646
|
+
{
|
|
7647
|
+
"in": "query",
|
|
7648
|
+
"name": "timeout",
|
|
7649
|
+
"required": false,
|
|
7650
|
+
"schema": {
|
|
7651
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7652
|
+
"type": "number"
|
|
7653
|
+
}
|
|
7654
|
+
},
|
|
7655
|
+
{
|
|
7656
|
+
"in": "query",
|
|
7657
|
+
"name": "trackingId",
|
|
7658
|
+
"required": false,
|
|
7659
|
+
"schema": {
|
|
7660
|
+
"description": "Custom session identifier",
|
|
7661
|
+
"type": "string"
|
|
7662
|
+
}
|
|
7663
|
+
}
|
|
7664
|
+
],
|
|
7665
|
+
"requestBody": {
|
|
7666
|
+
"content": {}
|
|
7667
|
+
},
|
|
7668
|
+
"responses": {
|
|
7669
|
+
"400": {
|
|
7670
|
+
"code": 400,
|
|
7671
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7672
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7673
|
+
},
|
|
7674
|
+
"401": {
|
|
7675
|
+
"code": 401,
|
|
7676
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7677
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7678
|
+
},
|
|
7679
|
+
"404": {
|
|
7680
|
+
"code": 404,
|
|
7681
|
+
"description": "Resource couldn't be found.",
|
|
7682
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7683
|
+
},
|
|
7684
|
+
"408": {
|
|
7685
|
+
"code": 408,
|
|
7686
|
+
"description": "The request took has taken too long to process.",
|
|
7687
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7688
|
+
},
|
|
7689
|
+
"429": {
|
|
7690
|
+
"code": 429,
|
|
7691
|
+
"description": "Too many requests are currently being processed.",
|
|
7692
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7693
|
+
},
|
|
7694
|
+
"500": {
|
|
7695
|
+
"code": 500,
|
|
7696
|
+
"description": "An internal error occurred when handling the request.",
|
|
7697
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7698
|
+
}
|
|
7699
|
+
},
|
|
7700
|
+
"summary": "/sessions",
|
|
7701
|
+
"tags": [
|
|
7702
|
+
"Management REST APIs"
|
|
7703
|
+
]
|
|
7704
|
+
}
|
|
7705
|
+
},
|
|
7706
|
+
"/": {
|
|
7707
|
+
"get": {
|
|
7708
|
+
"definitions": {},
|
|
7709
|
+
"description": "Serves static files inside of this \"static\" directory. Content-types will vary depending on the type =of file being returned.",
|
|
7710
|
+
"parameters": [],
|
|
7711
|
+
"requestBody": {
|
|
7712
|
+
"content": {}
|
|
7713
|
+
},
|
|
7714
|
+
"responses": {
|
|
7715
|
+
"400": {
|
|
7716
|
+
"code": 400,
|
|
7717
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7718
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7719
|
+
},
|
|
7720
|
+
"401": {
|
|
7721
|
+
"code": 401,
|
|
7722
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7723
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7724
|
+
},
|
|
7725
|
+
"404": {
|
|
7726
|
+
"code": 404,
|
|
7727
|
+
"description": "Resource couldn't be found.",
|
|
7728
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7729
|
+
},
|
|
7730
|
+
"408": {
|
|
7731
|
+
"code": 408,
|
|
7732
|
+
"description": "The request took has taken too long to process.",
|
|
7733
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7734
|
+
},
|
|
7735
|
+
"429": {
|
|
7736
|
+
"code": 429,
|
|
7737
|
+
"description": "Too many requests are currently being processed.",
|
|
7738
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7739
|
+
},
|
|
7740
|
+
"500": {
|
|
7741
|
+
"code": 500,
|
|
7742
|
+
"description": "An internal error occurred when handling the request.",
|
|
7743
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7744
|
+
}
|
|
7745
|
+
},
|
|
7746
|
+
"summary": "/",
|
|
7747
|
+
"tags": [
|
|
7748
|
+
"Management REST APIs"
|
|
7749
|
+
]
|
|
7750
|
+
}
|
|
7751
|
+
},
|
|
7752
|
+
"/devtools/browser/*": {
|
|
7753
|
+
"get": {
|
|
7754
|
+
"definitions": {},
|
|
7755
|
+
"description": "Connect to an already-running Chromium process with a library like\npuppeteer, or others, that work over chrome-devtools-protocol. Chromium\nmust already be launched in order to not return a 404.",
|
|
7756
|
+
"parameters": [
|
|
7757
|
+
{
|
|
7758
|
+
"in": "query",
|
|
7759
|
+
"name": "blockAds",
|
|
7760
|
+
"schema": {
|
|
7761
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7762
|
+
"type": "boolean"
|
|
7763
|
+
}
|
|
7764
|
+
},
|
|
7765
|
+
{
|
|
7766
|
+
"in": "query",
|
|
7767
|
+
"name": "launch",
|
|
7768
|
+
"schema": {
|
|
7769
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7770
|
+
"anyOf": [
|
|
7771
|
+
{
|
|
7772
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7773
|
+
},
|
|
7774
|
+
{
|
|
7775
|
+
"type": "string"
|
|
7776
|
+
}
|
|
7777
|
+
]
|
|
7778
|
+
}
|
|
7779
|
+
},
|
|
7780
|
+
{
|
|
7781
|
+
"in": "query",
|
|
7782
|
+
"name": "timeout",
|
|
7783
|
+
"schema": {
|
|
7784
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7785
|
+
"type": "number"
|
|
7786
|
+
}
|
|
7787
|
+
},
|
|
7788
|
+
{
|
|
7789
|
+
"in": "query",
|
|
7790
|
+
"name": "token",
|
|
7791
|
+
"schema": {
|
|
7792
|
+
"description": "The authorization token",
|
|
7793
|
+
"type": "string"
|
|
7794
|
+
}
|
|
7795
|
+
},
|
|
7796
|
+
{
|
|
7797
|
+
"in": "query",
|
|
7798
|
+
"name": "trackingId",
|
|
7799
|
+
"schema": {
|
|
7800
|
+
"description": "Custom session identifier",
|
|
7801
|
+
"type": "string"
|
|
7802
|
+
}
|
|
7803
|
+
}
|
|
7804
|
+
],
|
|
7805
|
+
"requestBody": {
|
|
7806
|
+
"content": {}
|
|
7807
|
+
},
|
|
7808
|
+
"responses": {
|
|
7809
|
+
"101": {
|
|
7810
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
7811
|
+
},
|
|
7812
|
+
"400": {
|
|
7813
|
+
"code": 400,
|
|
7814
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7815
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7816
|
+
},
|
|
7817
|
+
"401": {
|
|
7818
|
+
"code": 401,
|
|
7819
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7820
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7821
|
+
},
|
|
7822
|
+
"404": {
|
|
7823
|
+
"code": 404,
|
|
7824
|
+
"description": "Resource couldn't be found.",
|
|
7825
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7826
|
+
},
|
|
7827
|
+
"408": {
|
|
7828
|
+
"code": 408,
|
|
7829
|
+
"description": "The request took has taken too long to process.",
|
|
7830
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7831
|
+
},
|
|
7832
|
+
"429": {
|
|
7833
|
+
"code": 429,
|
|
7834
|
+
"description": "Too many requests are currently being processed.",
|
|
7835
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7836
|
+
},
|
|
7837
|
+
"500": {
|
|
7838
|
+
"code": 500,
|
|
7839
|
+
"description": "An internal error occurred when handling the request.",
|
|
7840
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7841
|
+
}
|
|
7842
|
+
},
|
|
7843
|
+
"summary": "/devtools/browser/*",
|
|
7844
|
+
"tags": [
|
|
7845
|
+
"Browser WebSocket APIs"
|
|
7846
|
+
]
|
|
7847
|
+
}
|
|
7848
|
+
},
|
|
7849
|
+
"/chrome": {
|
|
7850
|
+
"get": {
|
|
7851
|
+
"definitions": {},
|
|
7852
|
+
"description": "Launch and connect to Chromium with a library like puppeteer or others that work over chrome-devtools-protocol.",
|
|
7853
|
+
"parameters": [
|
|
7854
|
+
{
|
|
7855
|
+
"in": "query",
|
|
7856
|
+
"name": "blockAds",
|
|
7857
|
+
"schema": {
|
|
7858
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7859
|
+
"type": "boolean"
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
"in": "query",
|
|
7864
|
+
"name": "launch",
|
|
7865
|
+
"schema": {
|
|
7866
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7867
|
+
"anyOf": [
|
|
7868
|
+
{
|
|
7869
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7870
|
+
},
|
|
7871
|
+
{
|
|
7872
|
+
"type": "string"
|
|
7873
|
+
}
|
|
7874
|
+
]
|
|
7875
|
+
}
|
|
7876
|
+
},
|
|
7877
|
+
{
|
|
7878
|
+
"in": "query",
|
|
7879
|
+
"name": "timeout",
|
|
7880
|
+
"schema": {
|
|
7881
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7882
|
+
"type": "number"
|
|
7883
|
+
}
|
|
7884
|
+
},
|
|
7885
|
+
{
|
|
7886
|
+
"in": "query",
|
|
7887
|
+
"name": "token",
|
|
7888
|
+
"schema": {
|
|
7889
|
+
"description": "The authorization token",
|
|
7890
|
+
"type": "string"
|
|
7891
|
+
}
|
|
7892
|
+
},
|
|
7893
|
+
{
|
|
7894
|
+
"in": "query",
|
|
7895
|
+
"name": "trackingId",
|
|
7896
|
+
"schema": {
|
|
7897
|
+
"description": "Custom session identifier",
|
|
7898
|
+
"type": "string"
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7901
|
+
],
|
|
7902
|
+
"requestBody": {
|
|
7903
|
+
"content": {}
|
|
7904
|
+
},
|
|
7905
|
+
"responses": {
|
|
7906
|
+
"101": {
|
|
7907
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
7908
|
+
},
|
|
7909
|
+
"400": {
|
|
7910
|
+
"code": 400,
|
|
7911
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7912
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7913
|
+
},
|
|
7914
|
+
"401": {
|
|
7915
|
+
"code": 401,
|
|
7916
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7917
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7918
|
+
},
|
|
7919
|
+
"404": {
|
|
7920
|
+
"code": 404,
|
|
7921
|
+
"description": "Resource couldn't be found.",
|
|
7922
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7923
|
+
},
|
|
7924
|
+
"408": {
|
|
7925
|
+
"code": 408,
|
|
7926
|
+
"description": "The request took has taken too long to process.",
|
|
7927
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7928
|
+
},
|
|
7929
|
+
"429": {
|
|
7930
|
+
"code": 429,
|
|
7931
|
+
"description": "Too many requests are currently being processed.",
|
|
7932
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7933
|
+
},
|
|
7934
|
+
"500": {
|
|
7935
|
+
"code": 500,
|
|
7936
|
+
"description": "An internal error occurred when handling the request.",
|
|
7937
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7938
|
+
}
|
|
7939
|
+
},
|
|
7940
|
+
"summary": "/chrome",
|
|
7941
|
+
"tags": [
|
|
7942
|
+
"Browser WebSocket APIs"
|
|
7943
|
+
]
|
|
7944
|
+
}
|
|
7945
|
+
},
|
|
7946
|
+
"/devtools/page/*": {
|
|
7947
|
+
"get": {
|
|
7948
|
+
"definitions": {},
|
|
7949
|
+
"description": "Connect to an existing page in Chromium with a library like\nchrome-remote-interface or others that work the page websocketDebugger\nURL. You can get this unique URL by calling the /json/list API\nor by finding the page's unique ID from your library of choice.",
|
|
7950
|
+
"parameters": [
|
|
7951
|
+
{
|
|
7952
|
+
"in": "query",
|
|
7953
|
+
"name": "blockAds",
|
|
7954
|
+
"schema": {
|
|
7955
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
7956
|
+
"type": "boolean"
|
|
7957
|
+
}
|
|
7958
|
+
},
|
|
7959
|
+
{
|
|
7960
|
+
"in": "query",
|
|
7961
|
+
"name": "launch",
|
|
7962
|
+
"schema": {
|
|
7963
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
7964
|
+
"anyOf": [
|
|
7965
|
+
{
|
|
7966
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7967
|
+
},
|
|
7968
|
+
{
|
|
7969
|
+
"type": "string"
|
|
7970
|
+
}
|
|
7971
|
+
]
|
|
7972
|
+
}
|
|
7973
|
+
},
|
|
7974
|
+
{
|
|
7975
|
+
"in": "query",
|
|
7976
|
+
"name": "timeout",
|
|
7977
|
+
"schema": {
|
|
7978
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7979
|
+
"type": "number"
|
|
7980
|
+
}
|
|
7981
|
+
},
|
|
7982
|
+
{
|
|
7983
|
+
"in": "query",
|
|
7984
|
+
"name": "token",
|
|
7985
|
+
"schema": {
|
|
7986
|
+
"description": "The authorization token",
|
|
7987
|
+
"type": "string"
|
|
7988
|
+
}
|
|
7989
|
+
},
|
|
7990
|
+
{
|
|
7991
|
+
"in": "query",
|
|
7992
|
+
"name": "trackingId",
|
|
7993
|
+
"schema": {
|
|
7994
|
+
"description": "Custom session identifier",
|
|
7995
|
+
"type": "string"
|
|
7996
|
+
}
|
|
7997
|
+
}
|
|
7998
|
+
],
|
|
7999
|
+
"requestBody": {
|
|
8000
|
+
"content": {}
|
|
8001
|
+
},
|
|
8002
|
+
"responses": {
|
|
8003
|
+
"101": {
|
|
8004
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8005
|
+
},
|
|
8006
|
+
"400": {
|
|
8007
|
+
"code": 400,
|
|
8008
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
8009
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
8010
|
+
},
|
|
8011
|
+
"401": {
|
|
8012
|
+
"code": 401,
|
|
8013
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
8014
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
8015
|
+
},
|
|
8016
|
+
"404": {
|
|
8017
|
+
"code": 404,
|
|
8018
|
+
"description": "Resource couldn't be found.",
|
|
8019
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
8020
|
+
},
|
|
8021
|
+
"408": {
|
|
8022
|
+
"code": 408,
|
|
8023
|
+
"description": "The request took has taken too long to process.",
|
|
8024
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
8025
|
+
},
|
|
8026
|
+
"429": {
|
|
8027
|
+
"code": 429,
|
|
8028
|
+
"description": "Too many requests are currently being processed.",
|
|
8029
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
8030
|
+
},
|
|
8031
|
+
"500": {
|
|
8032
|
+
"code": 500,
|
|
8033
|
+
"description": "An internal error occurred when handling the request.",
|
|
8034
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8035
|
+
}
|
|
8036
|
+
},
|
|
8037
|
+
"summary": "/devtools/page/*",
|
|
8038
|
+
"tags": [
|
|
8039
|
+
"Browser WebSocket APIs"
|
|
8040
|
+
]
|
|
8041
|
+
}
|
|
8042
|
+
},
|
|
8043
|
+
"/chrome/playwright": {
|
|
8044
|
+
"get": {
|
|
8045
|
+
"definitions": {},
|
|
8046
|
+
"description": "Connect to Chromium with any playwright style library.",
|
|
8047
|
+
"parameters": [
|
|
8048
|
+
{
|
|
8049
|
+
"in": "query",
|
|
8050
|
+
"name": "blockAds",
|
|
8051
|
+
"schema": {
|
|
8052
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
8053
|
+
"type": "boolean"
|
|
8054
|
+
}
|
|
8055
|
+
},
|
|
8056
|
+
{
|
|
8057
|
+
"in": "query",
|
|
8058
|
+
"name": "launch",
|
|
8059
|
+
"schema": {
|
|
8060
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
8061
|
+
"anyOf": [
|
|
8062
|
+
{
|
|
8063
|
+
"$ref": "#/definitions/BrowserServerOptions"
|
|
8064
|
+
},
|
|
8065
|
+
{
|
|
8066
|
+
"type": "string"
|
|
8067
|
+
}
|
|
8068
|
+
]
|
|
8069
|
+
}
|
|
8070
|
+
},
|
|
8071
|
+
{
|
|
8072
|
+
"in": "query",
|
|
8073
|
+
"name": "timeout",
|
|
8074
|
+
"schema": {
|
|
8075
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8076
|
+
"type": "number"
|
|
8077
|
+
}
|
|
8078
|
+
},
|
|
8079
|
+
{
|
|
8080
|
+
"in": "query",
|
|
8081
|
+
"name": "token",
|
|
8082
|
+
"schema": {
|
|
8083
|
+
"description": "The authorization token",
|
|
8084
|
+
"type": "string"
|
|
8085
|
+
}
|
|
8086
|
+
},
|
|
8087
|
+
{
|
|
8088
|
+
"in": "query",
|
|
8089
|
+
"name": "trackingId",
|
|
8090
|
+
"schema": {
|
|
8091
|
+
"description": "Custom session identifier",
|
|
8092
|
+
"type": "string"
|
|
8093
|
+
}
|
|
8094
|
+
}
|
|
8095
|
+
],
|
|
8096
|
+
"requestBody": {
|
|
8097
|
+
"content": {}
|
|
8098
|
+
},
|
|
8099
|
+
"responses": {
|
|
8100
|
+
"101": {
|
|
8101
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8102
|
+
},
|
|
8103
|
+
"400": {
|
|
8104
|
+
"code": 400,
|
|
8105
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
8106
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
8107
|
+
},
|
|
8108
|
+
"401": {
|
|
8109
|
+
"code": 401,
|
|
8110
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
8111
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
8112
|
+
},
|
|
8113
|
+
"404": {
|
|
8114
|
+
"code": 404,
|
|
8115
|
+
"description": "Resource couldn't be found.",
|
|
8116
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
8117
|
+
},
|
|
8118
|
+
"408": {
|
|
8119
|
+
"code": 408,
|
|
8120
|
+
"description": "The request took has taken too long to process.",
|
|
8121
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
8122
|
+
},
|
|
8123
|
+
"429": {
|
|
8124
|
+
"code": 429,
|
|
8125
|
+
"description": "Too many requests are currently being processed.",
|
|
8126
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
8127
|
+
},
|
|
8128
|
+
"500": {
|
|
8129
|
+
"code": 500,
|
|
8130
|
+
"description": "An internal error occurred when handling the request.",
|
|
8131
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8132
|
+
}
|
|
8133
|
+
},
|
|
8134
|
+
"summary": "/chrome/playwright",
|
|
8135
|
+
"tags": [
|
|
8136
|
+
"Browser WebSocket APIs"
|
|
8137
|
+
]
|
|
8138
|
+
}
|
|
8139
|
+
},
|
|
8140
|
+
"/chromium": {
|
|
8141
|
+
"get": {
|
|
8142
|
+
"definitions": {},
|
|
8143
|
+
"description": "Launch and connect to Chromium with a library like puppeteer or others that work over chrome-devtools-protocol.\n\n**Note:** This endpoint is also available at: `` for backwards compatibility.",
|
|
8144
|
+
"parameters": [
|
|
8145
|
+
{
|
|
8146
|
+
"in": "query",
|
|
8147
|
+
"name": "blockAds",
|
|
8148
|
+
"schema": {
|
|
8149
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
8150
|
+
"type": "boolean"
|
|
8151
|
+
}
|
|
8152
|
+
},
|
|
8153
|
+
{
|
|
8154
|
+
"in": "query",
|
|
8155
|
+
"name": "launch",
|
|
8156
|
+
"schema": {
|
|
8157
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
8158
|
+
"anyOf": [
|
|
8159
|
+
{
|
|
8160
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
8161
|
+
},
|
|
8162
|
+
{
|
|
8163
|
+
"type": "string"
|
|
8164
|
+
}
|
|
8165
|
+
]
|
|
8166
|
+
}
|
|
8167
|
+
},
|
|
8168
|
+
{
|
|
8169
|
+
"in": "query",
|
|
8170
|
+
"name": "timeout",
|
|
8171
|
+
"schema": {
|
|
8172
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8173
|
+
"type": "number"
|
|
8174
|
+
}
|
|
8175
|
+
},
|
|
8176
|
+
{
|
|
8177
|
+
"in": "query",
|
|
8178
|
+
"name": "token",
|
|
8179
|
+
"schema": {
|
|
8180
|
+
"description": "The authorization token",
|
|
8181
|
+
"type": "string"
|
|
8182
|
+
}
|
|
8183
|
+
},
|
|
8184
|
+
{
|
|
8185
|
+
"in": "query",
|
|
8186
|
+
"name": "trackingId",
|
|
8187
|
+
"schema": {
|
|
8188
|
+
"description": "Custom session identifier",
|
|
8189
|
+
"type": "string"
|
|
8190
|
+
}
|
|
8191
|
+
}
|
|
8192
|
+
],
|
|
8193
|
+
"requestBody": {
|
|
8194
|
+
"content": {}
|
|
8195
|
+
},
|
|
8196
|
+
"responses": {
|
|
8197
|
+
"101": {
|
|
8198
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8199
|
+
},
|
|
8200
|
+
"400": {
|
|
8201
|
+
"code": 400,
|
|
8202
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
8203
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
8204
|
+
},
|
|
8205
|
+
"401": {
|
|
8206
|
+
"code": 401,
|
|
8207
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
8208
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
8209
|
+
},
|
|
8210
|
+
"404": {
|
|
8211
|
+
"code": 404,
|
|
8212
|
+
"description": "Resource couldn't be found.",
|
|
8213
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
8214
|
+
},
|
|
8215
|
+
"408": {
|
|
8216
|
+
"code": 408,
|
|
8217
|
+
"description": "The request took has taken too long to process.",
|
|
8218
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
8219
|
+
},
|
|
8220
|
+
"429": {
|
|
8221
|
+
"code": 429,
|
|
8222
|
+
"description": "Too many requests are currently being processed.",
|
|
8223
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
8224
|
+
},
|
|
8225
|
+
"500": {
|
|
8226
|
+
"code": 500,
|
|
8227
|
+
"description": "An internal error occurred when handling the request.",
|
|
8228
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8229
|
+
}
|
|
8230
|
+
},
|
|
8231
|
+
"summary": "/chromium",
|
|
8232
|
+
"tags": [
|
|
8233
|
+
"Browser WebSocket APIs"
|
|
8234
|
+
]
|
|
8235
|
+
}
|
|
8236
|
+
},
|
|
8237
|
+
"/playwright/chromium": {
|
|
8238
|
+
"get": {
|
|
8239
|
+
"definitions": {},
|
|
8240
|
+
"description": "Connect to Chromium with any playwright style library.\n\n**Note:** This endpoint is also available at: `/chromium/playwright` for backwards compatibility.",
|
|
8241
|
+
"parameters": [
|
|
8242
|
+
{
|
|
8243
|
+
"in": "query",
|
|
8244
|
+
"name": "blockAds",
|
|
8245
|
+
"schema": {
|
|
8246
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
8247
|
+
"type": "boolean"
|
|
8248
|
+
}
|
|
8249
|
+
},
|
|
8250
|
+
{
|
|
8251
|
+
"in": "query",
|
|
8252
|
+
"name": "launch",
|
|
8253
|
+
"schema": {
|
|
8254
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
8255
|
+
"anyOf": [
|
|
8256
|
+
{
|
|
8257
|
+
"$ref": "#/definitions/BrowserServerOptions"
|
|
8258
|
+
},
|
|
8259
|
+
{
|
|
8260
|
+
"type": "string"
|
|
8261
|
+
}
|
|
8262
|
+
]
|
|
8263
|
+
}
|
|
8264
|
+
},
|
|
8265
|
+
{
|
|
8266
|
+
"in": "query",
|
|
8267
|
+
"name": "timeout",
|
|
8268
|
+
"schema": {
|
|
8269
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8270
|
+
"type": "number"
|
|
8271
|
+
}
|
|
8272
|
+
},
|
|
8273
|
+
{
|
|
8274
|
+
"in": "query",
|
|
8275
|
+
"name": "token",
|
|
8276
|
+
"schema": {
|
|
8277
|
+
"description": "The authorization token",
|
|
8278
|
+
"type": "string"
|
|
8279
|
+
}
|
|
8280
|
+
},
|
|
8281
|
+
{
|
|
8282
|
+
"in": "query",
|
|
8283
|
+
"name": "trackingId",
|
|
8284
|
+
"schema": {
|
|
8285
|
+
"description": "Custom session identifier",
|
|
8286
|
+
"type": "string"
|
|
8287
|
+
}
|
|
8441
8288
|
}
|
|
8442
|
-
|
|
8443
|
-
"summary": "/metrics/total",
|
|
8444
|
-
"tags": [
|
|
8445
|
-
"Management REST APIs"
|
|
8446
|
-
]
|
|
8447
|
-
}
|
|
8448
|
-
},
|
|
8449
|
-
"/metrics": {
|
|
8450
|
-
"get": {
|
|
8451
|
-
"definitions": {},
|
|
8452
|
-
"description": "Returns a list of metric details as far back as possible.",
|
|
8453
|
-
"parameters": [],
|
|
8289
|
+
],
|
|
8454
8290
|
"requestBody": {
|
|
8455
8291
|
"content": {}
|
|
8456
8292
|
},
|
|
8457
8293
|
"responses": {
|
|
8294
|
+
"101": {
|
|
8295
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8296
|
+
},
|
|
8458
8297
|
"400": {
|
|
8459
8298
|
"code": 400,
|
|
8460
8299
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -8486,21 +8325,72 @@
|
|
|
8486
8325
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8487
8326
|
}
|
|
8488
8327
|
},
|
|
8489
|
-
"summary": "/
|
|
8328
|
+
"summary": "/playwright/chromium",
|
|
8490
8329
|
"tags": [
|
|
8491
|
-
"
|
|
8330
|
+
"Browser WebSocket APIs"
|
|
8492
8331
|
]
|
|
8493
8332
|
}
|
|
8494
8333
|
},
|
|
8495
|
-
"/
|
|
8334
|
+
"/edge": {
|
|
8496
8335
|
"get": {
|
|
8497
8336
|
"definitions": {},
|
|
8498
|
-
"description": "
|
|
8499
|
-
"parameters": [
|
|
8337
|
+
"description": "Launch and connect to Chromium with a library like puppeteer or others that work over chrome-devtools-protocol.",
|
|
8338
|
+
"parameters": [
|
|
8339
|
+
{
|
|
8340
|
+
"in": "query",
|
|
8341
|
+
"name": "blockAds",
|
|
8342
|
+
"schema": {
|
|
8343
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
8344
|
+
"type": "boolean"
|
|
8345
|
+
}
|
|
8346
|
+
},
|
|
8347
|
+
{
|
|
8348
|
+
"in": "query",
|
|
8349
|
+
"name": "launch",
|
|
8350
|
+
"schema": {
|
|
8351
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
8352
|
+
"anyOf": [
|
|
8353
|
+
{
|
|
8354
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
8355
|
+
},
|
|
8356
|
+
{
|
|
8357
|
+
"type": "string"
|
|
8358
|
+
}
|
|
8359
|
+
]
|
|
8360
|
+
}
|
|
8361
|
+
},
|
|
8362
|
+
{
|
|
8363
|
+
"in": "query",
|
|
8364
|
+
"name": "timeout",
|
|
8365
|
+
"schema": {
|
|
8366
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8367
|
+
"type": "number"
|
|
8368
|
+
}
|
|
8369
|
+
},
|
|
8370
|
+
{
|
|
8371
|
+
"in": "query",
|
|
8372
|
+
"name": "token",
|
|
8373
|
+
"schema": {
|
|
8374
|
+
"description": "The authorization token",
|
|
8375
|
+
"type": "string"
|
|
8376
|
+
}
|
|
8377
|
+
},
|
|
8378
|
+
{
|
|
8379
|
+
"in": "query",
|
|
8380
|
+
"name": "trackingId",
|
|
8381
|
+
"schema": {
|
|
8382
|
+
"description": "Custom session identifier",
|
|
8383
|
+
"type": "string"
|
|
8384
|
+
}
|
|
8385
|
+
}
|
|
8386
|
+
],
|
|
8500
8387
|
"requestBody": {
|
|
8501
8388
|
"content": {}
|
|
8502
8389
|
},
|
|
8503
8390
|
"responses": {
|
|
8391
|
+
"101": {
|
|
8392
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8393
|
+
},
|
|
8504
8394
|
"400": {
|
|
8505
8395
|
"code": 400,
|
|
8506
8396
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -8532,30 +8422,20 @@
|
|
|
8532
8422
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8533
8423
|
}
|
|
8534
8424
|
},
|
|
8535
|
-
"summary": "/
|
|
8425
|
+
"summary": "/edge",
|
|
8536
8426
|
"tags": [
|
|
8537
|
-
"
|
|
8427
|
+
"Browser WebSocket APIs"
|
|
8538
8428
|
]
|
|
8539
8429
|
}
|
|
8540
8430
|
},
|
|
8541
|
-
"/
|
|
8431
|
+
"/edge/playwright": {
|
|
8542
8432
|
"get": {
|
|
8543
8433
|
"definitions": {},
|
|
8544
|
-
"description": "
|
|
8434
|
+
"description": "Connect to Chromium with any playwright style library.",
|
|
8545
8435
|
"parameters": [
|
|
8546
|
-
{
|
|
8547
|
-
"in": "query",
|
|
8548
|
-
"name": "token",
|
|
8549
|
-
"required": true,
|
|
8550
|
-
"schema": {
|
|
8551
|
-
"description": "The authorization token",
|
|
8552
|
-
"type": "string"
|
|
8553
|
-
}
|
|
8554
|
-
},
|
|
8555
8436
|
{
|
|
8556
8437
|
"in": "query",
|
|
8557
8438
|
"name": "blockAds",
|
|
8558
|
-
"required": false,
|
|
8559
8439
|
"schema": {
|
|
8560
8440
|
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
8561
8441
|
"type": "boolean"
|
|
@@ -8564,13 +8444,9 @@
|
|
|
8564
8444
|
{
|
|
8565
8445
|
"in": "query",
|
|
8566
8446
|
"name": "launch",
|
|
8567
|
-
"required": false,
|
|
8568
8447
|
"schema": {
|
|
8569
8448
|
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
8570
8449
|
"anyOf": [
|
|
8571
|
-
{
|
|
8572
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
8573
|
-
},
|
|
8574
8450
|
{
|
|
8575
8451
|
"$ref": "#/definitions/BrowserServerOptions"
|
|
8576
8452
|
},
|
|
@@ -8583,16 +8459,22 @@
|
|
|
8583
8459
|
{
|
|
8584
8460
|
"in": "query",
|
|
8585
8461
|
"name": "timeout",
|
|
8586
|
-
"required": false,
|
|
8587
8462
|
"schema": {
|
|
8588
8463
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8589
8464
|
"type": "number"
|
|
8590
8465
|
}
|
|
8591
8466
|
},
|
|
8467
|
+
{
|
|
8468
|
+
"in": "query",
|
|
8469
|
+
"name": "token",
|
|
8470
|
+
"schema": {
|
|
8471
|
+
"description": "The authorization token",
|
|
8472
|
+
"type": "string"
|
|
8473
|
+
}
|
|
8474
|
+
},
|
|
8592
8475
|
{
|
|
8593
8476
|
"in": "query",
|
|
8594
8477
|
"name": "trackingId",
|
|
8595
|
-
"required": false,
|
|
8596
8478
|
"schema": {
|
|
8597
8479
|
"description": "Custom session identifier",
|
|
8598
8480
|
"type": "string"
|
|
@@ -8603,6 +8485,9 @@
|
|
|
8603
8485
|
"content": {}
|
|
8604
8486
|
},
|
|
8605
8487
|
"responses": {
|
|
8488
|
+
"101": {
|
|
8489
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8490
|
+
},
|
|
8606
8491
|
"400": {
|
|
8607
8492
|
"code": 400,
|
|
8608
8493
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -8634,21 +8519,136 @@
|
|
|
8634
8519
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8635
8520
|
}
|
|
8636
8521
|
},
|
|
8637
|
-
"summary": "/
|
|
8522
|
+
"summary": "/edge/playwright",
|
|
8638
8523
|
"tags": [
|
|
8639
|
-
"
|
|
8524
|
+
"Browser WebSocket APIs"
|
|
8640
8525
|
]
|
|
8641
8526
|
}
|
|
8642
8527
|
},
|
|
8643
|
-
"/": {
|
|
8528
|
+
"/playwright/firefox": {
|
|
8644
8529
|
"get": {
|
|
8645
8530
|
"definitions": {},
|
|
8646
|
-
"description": "
|
|
8647
|
-
"parameters": [
|
|
8531
|
+
"description": "Connect to Firefox with any playwright-compliant library.\n\n**Note:** This endpoint is also available at: `/firefox/playwright` for backwards compatibility.",
|
|
8532
|
+
"parameters": [
|
|
8533
|
+
{
|
|
8534
|
+
"in": "query",
|
|
8535
|
+
"name": "blockAds",
|
|
8536
|
+
"schema": {
|
|
8537
|
+
"description": "Whether or nor to load ad-blocking extensions for the session.\nThis currently uses uBlock-Lite and may cause certain sites\nto not load properly.",
|
|
8538
|
+
"type": "boolean"
|
|
8539
|
+
}
|
|
8540
|
+
},
|
|
8541
|
+
{
|
|
8542
|
+
"in": "query",
|
|
8543
|
+
"name": "launch",
|
|
8544
|
+
"schema": {
|
|
8545
|
+
"description": "Launch options, which can be either an object\nof puppeteer.launch options or playwright.launchServer\noptions, depending on the API. Must be either JSON\nobject, or a base64-encoded JSON object.",
|
|
8546
|
+
"additionalProperties": false,
|
|
8547
|
+
"type": "object",
|
|
8548
|
+
"properties": {
|
|
8549
|
+
"args": {
|
|
8550
|
+
"type": "array",
|
|
8551
|
+
"items": {
|
|
8552
|
+
"type": "string"
|
|
8553
|
+
}
|
|
8554
|
+
},
|
|
8555
|
+
"chromiumSandbox": {
|
|
8556
|
+
"type": "boolean"
|
|
8557
|
+
},
|
|
8558
|
+
"devtools": {
|
|
8559
|
+
"type": "boolean"
|
|
8560
|
+
},
|
|
8561
|
+
"downloadsPath": {
|
|
8562
|
+
"type": "string"
|
|
8563
|
+
},
|
|
8564
|
+
"headless": {
|
|
8565
|
+
"type": "boolean"
|
|
8566
|
+
},
|
|
8567
|
+
"ignoreDefaultArgs": {
|
|
8568
|
+
"anyOf": [
|
|
8569
|
+
{
|
|
8570
|
+
"type": "array",
|
|
8571
|
+
"items": {
|
|
8572
|
+
"type": "string"
|
|
8573
|
+
}
|
|
8574
|
+
},
|
|
8575
|
+
{
|
|
8576
|
+
"type": "boolean"
|
|
8577
|
+
}
|
|
8578
|
+
]
|
|
8579
|
+
},
|
|
8580
|
+
"proxy": {
|
|
8581
|
+
"type": "object",
|
|
8582
|
+
"properties": {
|
|
8583
|
+
"bypass": {
|
|
8584
|
+
"type": "string"
|
|
8585
|
+
},
|
|
8586
|
+
"password": {
|
|
8587
|
+
"type": "string"
|
|
8588
|
+
},
|
|
8589
|
+
"server": {
|
|
8590
|
+
"type": "string"
|
|
8591
|
+
},
|
|
8592
|
+
"username": {
|
|
8593
|
+
"type": "string"
|
|
8594
|
+
}
|
|
8595
|
+
},
|
|
8596
|
+
"additionalProperties": false,
|
|
8597
|
+
"required": [
|
|
8598
|
+
"server"
|
|
8599
|
+
]
|
|
8600
|
+
},
|
|
8601
|
+
"timeout": {
|
|
8602
|
+
"type": "number"
|
|
8603
|
+
},
|
|
8604
|
+
"tracesDir": {
|
|
8605
|
+
"type": "string"
|
|
8606
|
+
},
|
|
8607
|
+
"firefoxUserPrefs": {
|
|
8608
|
+
"type": "object",
|
|
8609
|
+
"additionalProperties": {
|
|
8610
|
+
"type": [
|
|
8611
|
+
"string",
|
|
8612
|
+
"number",
|
|
8613
|
+
"boolean"
|
|
8614
|
+
]
|
|
8615
|
+
}
|
|
8616
|
+
}
|
|
8617
|
+
}
|
|
8618
|
+
}
|
|
8619
|
+
},
|
|
8620
|
+
{
|
|
8621
|
+
"in": "query",
|
|
8622
|
+
"name": "timeout",
|
|
8623
|
+
"schema": {
|
|
8624
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8625
|
+
"type": "number"
|
|
8626
|
+
}
|
|
8627
|
+
},
|
|
8628
|
+
{
|
|
8629
|
+
"in": "query",
|
|
8630
|
+
"name": "token",
|
|
8631
|
+
"schema": {
|
|
8632
|
+
"description": "The authorization token",
|
|
8633
|
+
"type": "string"
|
|
8634
|
+
}
|
|
8635
|
+
},
|
|
8636
|
+
{
|
|
8637
|
+
"in": "query",
|
|
8638
|
+
"name": "trackingId",
|
|
8639
|
+
"schema": {
|
|
8640
|
+
"description": "Custom session identifier",
|
|
8641
|
+
"type": "string"
|
|
8642
|
+
}
|
|
8643
|
+
}
|
|
8644
|
+
],
|
|
8648
8645
|
"requestBody": {
|
|
8649
8646
|
"content": {}
|
|
8650
8647
|
},
|
|
8651
8648
|
"responses": {
|
|
8649
|
+
"101": {
|
|
8650
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8651
|
+
},
|
|
8652
8652
|
"400": {
|
|
8653
8653
|
"code": 400,
|
|
8654
8654
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -8680,16 +8680,16 @@
|
|
|
8680
8680
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8681
8681
|
}
|
|
8682
8682
|
},
|
|
8683
|
-
"summary": "/",
|
|
8683
|
+
"summary": "/playwright/firefox",
|
|
8684
8684
|
"tags": [
|
|
8685
|
-
"
|
|
8685
|
+
"Browser WebSocket APIs"
|
|
8686
8686
|
]
|
|
8687
8687
|
}
|
|
8688
8688
|
},
|
|
8689
|
-
"/playwright/webkit
|
|
8689
|
+
"/playwright/webkit": {
|
|
8690
8690
|
"get": {
|
|
8691
8691
|
"definitions": {},
|
|
8692
|
-
"description": "Connect to Webkit with any playwright-compliant library.",
|
|
8692
|
+
"description": "Connect to Webkit with any playwright-compliant library.\n\n**Note:** This endpoint is also available at: `/webkit/playwright` for backwards compatibility.",
|
|
8693
8693
|
"parameters": [
|
|
8694
8694
|
{
|
|
8695
8695
|
"in": "query",
|
|
@@ -8777,7 +8777,7 @@
|
|
|
8777
8777
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8778
8778
|
}
|
|
8779
8779
|
},
|
|
8780
|
-
"summary": "/playwright/webkit
|
|
8780
|
+
"summary": "/playwright/webkit",
|
|
8781
8781
|
"tags": [
|
|
8782
8782
|
"Browser WebSocket APIs"
|
|
8783
8783
|
]
|