@browserless.io/browserless 2.29.0 → 2.30.0
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 +8 -2
- package/build/limiter.js +1 -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 +9 -9
- package/scripts/build-open-api.js +0 -1
- package/src/limiter.ts +1 -0
- package/src/types.ts +1 -0
- package/static/docs/swagger.json +1364 -1364
- package/static/docs/swagger.min.json +1363 -1363
- package/static/function/client.js +8 -1
- package/static/function/index.html +8 -1
- 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.0",
|
|
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
|
+
"/content /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.",
|
|
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": "/content /chromium/content",
|
|
3351
3547
|
"tags": [
|
|
3352
|
-
"Browser
|
|
3548
|
+
"Browser REST APIs"
|
|
3353
3549
|
]
|
|
3354
3550
|
}
|
|
3355
3551
|
},
|
|
3356
|
-
"/
|
|
3357
|
-
"
|
|
3552
|
+
"/download /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.",
|
|
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": "/download /chromium/download",
|
|
3448
3663
|
"tags": [
|
|
3449
|
-
"Browser
|
|
3664
|
+
"Browser REST APIs"
|
|
3450
3665
|
]
|
|
3451
3666
|
}
|
|
3452
3667
|
},
|
|
3453
|
-
"/
|
|
3454
|
-
"
|
|
3668
|
+
"/function /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.",
|
|
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": "/function /chromium/function",
|
|
3642
3779
|
"tags": [
|
|
3643
|
-
"Browser
|
|
3780
|
+
"Browser REST APIs"
|
|
3644
3781
|
]
|
|
3645
3782
|
}
|
|
3646
3783
|
},
|
|
3647
|
-
"/
|
|
3784
|
+
"/pdf /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.",
|
|
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": "/pdf /chromium/pdf",
|
|
3935
4075
|
"tags": [
|
|
3936
4076
|
"Browser REST APIs"
|
|
3937
4077
|
]
|
|
3938
4078
|
}
|
|
3939
4079
|
},
|
|
3940
|
-
"/
|
|
4080
|
+
"/performance /chromium/performance": {
|
|
3941
4081
|
"post": {
|
|
3942
4082
|
"definitions": {},
|
|
3943
|
-
"description": "
|
|
4083
|
+
"description": "Run lighthouse performance audits with a supplied \"url\" in your JSON payload.",
|
|
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": "/performance /chromium/performance",
|
|
4051
4207
|
"tags": [
|
|
4052
4208
|
"Browser REST APIs"
|
|
4053
4209
|
]
|
|
4054
4210
|
}
|
|
4055
4211
|
},
|
|
4056
|
-
"/
|
|
4212
|
+
"/scrape /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.",
|
|
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": {
|
|
@@ -5537,204 +5149,10 @@
|
|
|
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,31 +7082,558 @@
|
|
|
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
|
-
"/
|
|
7091
|
+
"/config": {
|
|
7725
7092
|
"get": {
|
|
7726
7093
|
"definitions": {},
|
|
7727
|
-
"description": "
|
|
7728
|
-
"parameters": [
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7094
|
+
"description": "Returns a JSON payload of the current system configuration.",
|
|
7095
|
+
"parameters": [],
|
|
7096
|
+
"requestBody": {
|
|
7097
|
+
"content": {}
|
|
7098
|
+
},
|
|
7099
|
+
"responses": {
|
|
7100
|
+
"200": {
|
|
7101
|
+
"content": {
|
|
7102
|
+
"application/json": {
|
|
7103
|
+
"schema": {
|
|
7104
|
+
"type": "object",
|
|
7105
|
+
"properties": {
|
|
7106
|
+
"allowCORS": {
|
|
7107
|
+
"type": "boolean"
|
|
7108
|
+
},
|
|
7109
|
+
"allowFileProtocol": {
|
|
7110
|
+
"type": "boolean"
|
|
7111
|
+
},
|
|
7112
|
+
"allowGetCalls": {
|
|
7113
|
+
"type": "boolean"
|
|
7114
|
+
},
|
|
7115
|
+
"concurrent": {
|
|
7116
|
+
"type": "number"
|
|
7117
|
+
},
|
|
7118
|
+
"data": {
|
|
7119
|
+
"type": "string"
|
|
7120
|
+
},
|
|
7121
|
+
"debug": {
|
|
7122
|
+
"type": "string"
|
|
7123
|
+
},
|
|
7124
|
+
"errorAlertURL": {
|
|
7125
|
+
"type": [
|
|
7126
|
+
"null",
|
|
7127
|
+
"string"
|
|
7128
|
+
]
|
|
7129
|
+
},
|
|
7130
|
+
"healthFailureURL": {
|
|
7131
|
+
"type": [
|
|
7132
|
+
"null",
|
|
7133
|
+
"string"
|
|
7134
|
+
]
|
|
7135
|
+
},
|
|
7136
|
+
"host": {
|
|
7137
|
+
"type": "string"
|
|
7138
|
+
},
|
|
7139
|
+
"maxCPU": {
|
|
7140
|
+
"type": "number"
|
|
7141
|
+
},
|
|
7142
|
+
"maxMemory": {
|
|
7143
|
+
"type": "number"
|
|
7144
|
+
},
|
|
7145
|
+
"metricsJSONPath": {
|
|
7146
|
+
"type": "string"
|
|
7147
|
+
},
|
|
7148
|
+
"port": {
|
|
7149
|
+
"type": "number"
|
|
7150
|
+
},
|
|
7151
|
+
"queued": {
|
|
7152
|
+
"type": "number"
|
|
7153
|
+
},
|
|
7154
|
+
"queuedAlertURL": {
|
|
7155
|
+
"type": [
|
|
7156
|
+
"null",
|
|
7157
|
+
"string"
|
|
7158
|
+
]
|
|
7159
|
+
},
|
|
7160
|
+
"rejectAlertURL": {
|
|
7161
|
+
"type": [
|
|
7162
|
+
"null",
|
|
7163
|
+
"string"
|
|
7164
|
+
]
|
|
7165
|
+
},
|
|
7166
|
+
"retries": {
|
|
7167
|
+
"type": "number"
|
|
7168
|
+
},
|
|
7169
|
+
"timeout": {
|
|
7170
|
+
"type": "number"
|
|
7171
|
+
},
|
|
7172
|
+
"timeoutAlertURL": {
|
|
7173
|
+
"type": [
|
|
7174
|
+
"null",
|
|
7175
|
+
"string"
|
|
7176
|
+
]
|
|
7177
|
+
},
|
|
7178
|
+
"token": {
|
|
7179
|
+
"type": [
|
|
7180
|
+
"null",
|
|
7181
|
+
"string"
|
|
7182
|
+
]
|
|
7183
|
+
}
|
|
7184
|
+
},
|
|
7185
|
+
"additionalProperties": false,
|
|
7186
|
+
"required": [
|
|
7187
|
+
"allowCORS",
|
|
7188
|
+
"allowFileProtocol",
|
|
7189
|
+
"allowGetCalls",
|
|
7190
|
+
"concurrent",
|
|
7191
|
+
"data",
|
|
7192
|
+
"debug",
|
|
7193
|
+
"errorAlertURL",
|
|
7194
|
+
"healthFailureURL",
|
|
7195
|
+
"host",
|
|
7196
|
+
"maxCPU",
|
|
7197
|
+
"maxMemory",
|
|
7198
|
+
"metricsJSONPath",
|
|
7199
|
+
"port",
|
|
7200
|
+
"queued",
|
|
7201
|
+
"queuedAlertURL",
|
|
7202
|
+
"rejectAlertURL",
|
|
7203
|
+
"retries",
|
|
7204
|
+
"timeout",
|
|
7205
|
+
"timeoutAlertURL",
|
|
7206
|
+
"token"
|
|
7207
|
+
],
|
|
7208
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7209
|
+
}
|
|
7210
|
+
}
|
|
7211
|
+
}
|
|
7212
|
+
},
|
|
7213
|
+
"400": {
|
|
7214
|
+
"code": 400,
|
|
7215
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7216
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7217
|
+
},
|
|
7218
|
+
"401": {
|
|
7219
|
+
"code": 401,
|
|
7220
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7221
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7222
|
+
},
|
|
7223
|
+
"404": {
|
|
7224
|
+
"code": 404,
|
|
7225
|
+
"description": "Resource couldn't be found.",
|
|
7226
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7227
|
+
},
|
|
7228
|
+
"408": {
|
|
7229
|
+
"code": 408,
|
|
7230
|
+
"description": "The request took has taken too long to process.",
|
|
7231
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7232
|
+
},
|
|
7233
|
+
"429": {
|
|
7234
|
+
"code": 429,
|
|
7235
|
+
"description": "Too many requests are currently being processed.",
|
|
7236
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7237
|
+
},
|
|
7238
|
+
"500": {
|
|
7239
|
+
"code": 500,
|
|
7240
|
+
"description": "An internal error occurred when handling the request.",
|
|
7241
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7242
|
+
}
|
|
7243
|
+
},
|
|
7244
|
+
"summary": "/config",
|
|
7245
|
+
"tags": [
|
|
7246
|
+
"Management REST APIs"
|
|
7247
|
+
]
|
|
7248
|
+
}
|
|
7249
|
+
},
|
|
7250
|
+
"/kill/+([0-9a-zA-Z-_])": {
|
|
7251
|
+
"get": {
|
|
7252
|
+
"definitions": {},
|
|
7253
|
+
"description": "Kill running sessions based on BrowserId or TrackingId.",
|
|
7254
|
+
"parameters": [
|
|
7255
|
+
{
|
|
7256
|
+
"in": "query",
|
|
7257
|
+
"name": "token",
|
|
7258
|
+
"required": true,
|
|
7259
|
+
"schema": {
|
|
7260
|
+
"description": "The authorization token",
|
|
7261
|
+
"type": "string"
|
|
7262
|
+
}
|
|
7263
|
+
},
|
|
7264
|
+
{
|
|
7265
|
+
"in": "query",
|
|
7266
|
+
"name": "blockAds",
|
|
7267
|
+
"required": false,
|
|
7268
|
+
"schema": {
|
|
7269
|
+
"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.",
|
|
7270
|
+
"type": "boolean"
|
|
7271
|
+
}
|
|
7272
|
+
},
|
|
7273
|
+
{
|
|
7274
|
+
"in": "query",
|
|
7275
|
+
"name": "browserId",
|
|
7276
|
+
"required": false,
|
|
7277
|
+
"schema": {
|
|
7278
|
+
"type": "string"
|
|
7279
|
+
}
|
|
7280
|
+
},
|
|
7281
|
+
{
|
|
7282
|
+
"in": "query",
|
|
7283
|
+
"name": "launch",
|
|
7284
|
+
"required": false,
|
|
7285
|
+
"schema": {
|
|
7286
|
+
"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.",
|
|
7287
|
+
"anyOf": [
|
|
7288
|
+
{
|
|
7289
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7290
|
+
},
|
|
7291
|
+
{
|
|
7292
|
+
"$ref": "#/definitions/BrowserServerOptions"
|
|
7293
|
+
},
|
|
7294
|
+
{
|
|
7295
|
+
"type": "string"
|
|
7296
|
+
}
|
|
7297
|
+
]
|
|
7298
|
+
}
|
|
7299
|
+
},
|
|
7300
|
+
{
|
|
7301
|
+
"in": "query",
|
|
7302
|
+
"name": "timeout",
|
|
7303
|
+
"required": false,
|
|
7304
|
+
"schema": {
|
|
7305
|
+
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7306
|
+
"type": "number"
|
|
7307
|
+
}
|
|
7308
|
+
},
|
|
7309
|
+
{
|
|
7310
|
+
"in": "query",
|
|
7311
|
+
"name": "trackingId",
|
|
7312
|
+
"required": false,
|
|
7313
|
+
"schema": {
|
|
7314
|
+
"description": "Custom session identifier",
|
|
7315
|
+
"type": "string"
|
|
7316
|
+
}
|
|
7317
|
+
}
|
|
7318
|
+
],
|
|
7319
|
+
"requestBody": {
|
|
7320
|
+
"content": {}
|
|
7321
|
+
},
|
|
7322
|
+
"responses": {
|
|
7323
|
+
"400": {
|
|
7324
|
+
"code": 400,
|
|
7325
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7326
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7327
|
+
},
|
|
7328
|
+
"401": {
|
|
7329
|
+
"code": 401,
|
|
7330
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7331
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7332
|
+
},
|
|
7333
|
+
"404": {
|
|
7334
|
+
"code": 404,
|
|
7335
|
+
"description": "Resource couldn't be found.",
|
|
7336
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7337
|
+
},
|
|
7338
|
+
"408": {
|
|
7339
|
+
"code": 408,
|
|
7340
|
+
"description": "The request took has taken too long to process.",
|
|
7341
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7342
|
+
},
|
|
7343
|
+
"429": {
|
|
7344
|
+
"code": 429,
|
|
7345
|
+
"description": "Too many requests are currently being processed.",
|
|
7346
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7347
|
+
},
|
|
7348
|
+
"500": {
|
|
7349
|
+
"code": 500,
|
|
7350
|
+
"description": "An internal error occurred when handling the request.",
|
|
7351
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7352
|
+
}
|
|
7353
|
+
},
|
|
7354
|
+
"summary": "/kill/+([0-9a-zA-Z-_])",
|
|
7355
|
+
"tags": [
|
|
7356
|
+
"Management REST APIs"
|
|
7357
|
+
]
|
|
7358
|
+
}
|
|
7359
|
+
},
|
|
7360
|
+
"/meta": {
|
|
7361
|
+
"get": {
|
|
7362
|
+
"definitions": {},
|
|
7363
|
+
"description": "Returns a JSON payload of the current system versions, including the core API version.",
|
|
7364
|
+
"parameters": [],
|
|
7365
|
+
"requestBody": {
|
|
7366
|
+
"content": {}
|
|
7367
|
+
},
|
|
7368
|
+
"responses": {
|
|
7369
|
+
"200": {
|
|
7370
|
+
"content": {
|
|
7371
|
+
"application/json": {
|
|
7372
|
+
"schema": {
|
|
7373
|
+
"type": "object",
|
|
7374
|
+
"properties": {
|
|
7375
|
+
"version": {
|
|
7376
|
+
"description": "The semantic version of the Browserless API",
|
|
7377
|
+
"type": "string"
|
|
7378
|
+
},
|
|
7379
|
+
"chromium": {
|
|
7380
|
+
"description": "The version of Chromium installed, or null if not installed",
|
|
7381
|
+
"type": [
|
|
7382
|
+
"null",
|
|
7383
|
+
"string"
|
|
7384
|
+
]
|
|
7385
|
+
},
|
|
7386
|
+
"webkit": {
|
|
7387
|
+
"description": "The version of Webkit installed, or null if not installed",
|
|
7388
|
+
"type": [
|
|
7389
|
+
"null",
|
|
7390
|
+
"string"
|
|
7391
|
+
]
|
|
7392
|
+
},
|
|
7393
|
+
"firefox": {
|
|
7394
|
+
"description": "The version of Firefox installed, or null if not installed",
|
|
7395
|
+
"type": [
|
|
7396
|
+
"null",
|
|
7397
|
+
"string"
|
|
7398
|
+
]
|
|
7399
|
+
},
|
|
7400
|
+
"playwright": {
|
|
7401
|
+
"description": "The supported version(s) of puppeteer",
|
|
7402
|
+
"type": "array",
|
|
7403
|
+
"items": {
|
|
7404
|
+
"type": "string"
|
|
7405
|
+
}
|
|
7406
|
+
},
|
|
7407
|
+
"puppeteer": {
|
|
7408
|
+
"description": "The supported version(s) of playwright",
|
|
7409
|
+
"type": "array",
|
|
7410
|
+
"items": {
|
|
7411
|
+
"type": "string"
|
|
7412
|
+
}
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
"additionalProperties": false,
|
|
7416
|
+
"required": [
|
|
7417
|
+
"chromium",
|
|
7418
|
+
"firefox",
|
|
7419
|
+
"playwright",
|
|
7420
|
+
"puppeteer",
|
|
7421
|
+
"version",
|
|
7422
|
+
"webkit"
|
|
7423
|
+
],
|
|
7424
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
7425
|
+
}
|
|
7426
|
+
}
|
|
7427
|
+
}
|
|
7428
|
+
},
|
|
7429
|
+
"400": {
|
|
7430
|
+
"code": 400,
|
|
7431
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7432
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7433
|
+
},
|
|
7434
|
+
"401": {
|
|
7435
|
+
"code": 401,
|
|
7436
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7437
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7438
|
+
},
|
|
7439
|
+
"404": {
|
|
7440
|
+
"code": 404,
|
|
7441
|
+
"description": "Resource couldn't be found.",
|
|
7442
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7443
|
+
},
|
|
7444
|
+
"408": {
|
|
7445
|
+
"code": 408,
|
|
7446
|
+
"description": "The request took has taken too long to process.",
|
|
7447
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7448
|
+
},
|
|
7449
|
+
"429": {
|
|
7450
|
+
"code": 429,
|
|
7451
|
+
"description": "Too many requests are currently being processed.",
|
|
7452
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7453
|
+
},
|
|
7454
|
+
"500": {
|
|
7455
|
+
"code": 500,
|
|
7456
|
+
"description": "An internal error occurred when handling the request.",
|
|
7457
|
+
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7458
|
+
}
|
|
7459
|
+
},
|
|
7460
|
+
"summary": "/meta",
|
|
7461
|
+
"tags": [
|
|
7462
|
+
"Management REST APIs"
|
|
7463
|
+
]
|
|
7464
|
+
}
|
|
7465
|
+
},
|
|
7466
|
+
"/metrics/total": {
|
|
7467
|
+
"get": {
|
|
7468
|
+
"definitions": {},
|
|
7469
|
+
"description": "Gets total metric details summed from the time the server started.",
|
|
7470
|
+
"parameters": [],
|
|
7471
|
+
"requestBody": {
|
|
7472
|
+
"content": {}
|
|
7473
|
+
},
|
|
7474
|
+
"responses": {
|
|
7475
|
+
"400": {
|
|
7476
|
+
"code": 400,
|
|
7477
|
+
"description": "The request contains errors or didn't properly encode content.",
|
|
7478
|
+
"message": "HTTP/1.1 400 Bad Request"
|
|
7479
|
+
},
|
|
7480
|
+
"401": {
|
|
7481
|
+
"code": 401,
|
|
7482
|
+
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
7483
|
+
"message": "HTTP/1.1 401 Unauthorized"
|
|
7484
|
+
},
|
|
7485
|
+
"404": {
|
|
7486
|
+
"code": 404,
|
|
7487
|
+
"description": "Resource couldn't be found.",
|
|
7488
|
+
"message": "HTTP/1.1 404 Not Found"
|
|
7489
|
+
},
|
|
7490
|
+
"408": {
|
|
7491
|
+
"code": 408,
|
|
7492
|
+
"description": "The request took has taken too long to process.",
|
|
7493
|
+
"message": "HTTP/1.1 408 Request Timeout"
|
|
7494
|
+
},
|
|
7495
|
+
"429": {
|
|
7496
|
+
"code": 429,
|
|
7497
|
+
"description": "Too many requests are currently being processed.",
|
|
7498
|
+
"message": "HTTP/1.1 429 Too Many Requests"
|
|
7499
|
+
},
|
|
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.",
|
|
7742
7633
|
"anyOf": [
|
|
7634
|
+
{
|
|
7635
|
+
"$ref": "#/definitions/CDPLaunchOptions"
|
|
7636
|
+
},
|
|
7743
7637
|
{
|
|
7744
7638
|
"$ref": "#/definitions/BrowserServerOptions"
|
|
7745
7639
|
},
|
|
@@ -7752,22 +7646,16 @@
|
|
|
7752
7646
|
{
|
|
7753
7647
|
"in": "query",
|
|
7754
7648
|
"name": "timeout",
|
|
7649
|
+
"required": false,
|
|
7755
7650
|
"schema": {
|
|
7756
7651
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
7757
7652
|
"type": "number"
|
|
7758
7653
|
}
|
|
7759
7654
|
},
|
|
7760
|
-
{
|
|
7761
|
-
"in": "query",
|
|
7762
|
-
"name": "token",
|
|
7763
|
-
"schema": {
|
|
7764
|
-
"description": "The authorization token",
|
|
7765
|
-
"type": "string"
|
|
7766
|
-
}
|
|
7767
|
-
},
|
|
7768
7655
|
{
|
|
7769
7656
|
"in": "query",
|
|
7770
7657
|
"name": "trackingId",
|
|
7658
|
+
"required": false,
|
|
7771
7659
|
"schema": {
|
|
7772
7660
|
"description": "Custom session identifier",
|
|
7773
7661
|
"type": "string"
|
|
@@ -7778,9 +7666,6 @@
|
|
|
7778
7666
|
"content": {}
|
|
7779
7667
|
},
|
|
7780
7668
|
"responses": {
|
|
7781
|
-
"101": {
|
|
7782
|
-
"description": "Indicates successful WebSocket upgrade."
|
|
7783
|
-
},
|
|
7784
7669
|
"400": {
|
|
7785
7670
|
"code": 400,
|
|
7786
7671
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -7812,102 +7697,84 @@
|
|
|
7812
7697
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7813
7698
|
}
|
|
7814
7699
|
},
|
|
7815
|
-
"summary": "/
|
|
7700
|
+
"summary": "/sessions",
|
|
7816
7701
|
"tags": [
|
|
7817
|
-
"
|
|
7702
|
+
"Management REST APIs"
|
|
7818
7703
|
]
|
|
7819
7704
|
}
|
|
7820
7705
|
},
|
|
7821
|
-
"/
|
|
7706
|
+
"/": {
|
|
7822
7707
|
"get": {
|
|
7823
7708
|
"definitions": {},
|
|
7824
|
-
"description": "
|
|
7825
|
-
"parameters": [
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
|
|
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"
|
|
7833
7719
|
},
|
|
7834
|
-
{
|
|
7835
|
-
"
|
|
7836
|
-
"
|
|
7837
|
-
"
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7862
|
-
|
|
7863
|
-
|
|
7864
|
-
|
|
7865
|
-
|
|
7866
|
-
|
|
7867
|
-
|
|
7868
|
-
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
}
|
|
7888
|
-
},
|
|
7889
|
-
"additionalProperties": false,
|
|
7890
|
-
"required": [
|
|
7891
|
-
"server"
|
|
7892
|
-
]
|
|
7893
|
-
},
|
|
7894
|
-
"timeout": {
|
|
7895
|
-
"type": "number"
|
|
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"
|
|
7896
7773
|
},
|
|
7897
|
-
|
|
7774
|
+
{
|
|
7898
7775
|
"type": "string"
|
|
7899
|
-
},
|
|
7900
|
-
"firefoxUserPrefs": {
|
|
7901
|
-
"type": "object",
|
|
7902
|
-
"additionalProperties": {
|
|
7903
|
-
"type": [
|
|
7904
|
-
"string",
|
|
7905
|
-
"number",
|
|
7906
|
-
"boolean"
|
|
7907
|
-
]
|
|
7908
|
-
}
|
|
7909
7776
|
}
|
|
7910
|
-
|
|
7777
|
+
]
|
|
7911
7778
|
}
|
|
7912
7779
|
},
|
|
7913
7780
|
{
|
|
@@ -7973,21 +7840,72 @@
|
|
|
7973
7840
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
7974
7841
|
}
|
|
7975
7842
|
},
|
|
7976
|
-
"summary": "/
|
|
7843
|
+
"summary": "/devtools/browser/*",
|
|
7977
7844
|
"tags": [
|
|
7978
7845
|
"Browser WebSocket APIs"
|
|
7979
7846
|
]
|
|
7980
7847
|
}
|
|
7981
7848
|
},
|
|
7982
|
-
"/
|
|
7849
|
+
"/chrome": {
|
|
7983
7850
|
"get": {
|
|
7984
7851
|
"definitions": {},
|
|
7985
|
-
"description": "
|
|
7986
|
-
"parameters": [
|
|
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
|
+
],
|
|
7987
7902
|
"requestBody": {
|
|
7988
7903
|
"content": {}
|
|
7989
7904
|
},
|
|
7990
7905
|
"responses": {
|
|
7906
|
+
"101": {
|
|
7907
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
7908
|
+
},
|
|
7991
7909
|
"400": {
|
|
7992
7910
|
"code": 400,
|
|
7993
7911
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -8019,133 +7937,71 @@
|
|
|
8019
7937
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8020
7938
|
}
|
|
8021
7939
|
},
|
|
8022
|
-
"summary": "/
|
|
7940
|
+
"summary": "/chrome",
|
|
8023
7941
|
"tags": [
|
|
8024
|
-
"
|
|
7942
|
+
"Browser WebSocket APIs"
|
|
8025
7943
|
]
|
|
8026
7944
|
}
|
|
8027
7945
|
},
|
|
8028
|
-
"/
|
|
7946
|
+
"/devtools/page/*": {
|
|
8029
7947
|
"get": {
|
|
8030
7948
|
"definitions": {},
|
|
8031
|
-
"description": "
|
|
8032
|
-
"parameters": [
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
"concurrent": {
|
|
8053
|
-
"type": "number"
|
|
8054
|
-
},
|
|
8055
|
-
"data": {
|
|
8056
|
-
"type": "string"
|
|
8057
|
-
},
|
|
8058
|
-
"debug": {
|
|
8059
|
-
"type": "string"
|
|
8060
|
-
},
|
|
8061
|
-
"errorAlertURL": {
|
|
8062
|
-
"type": [
|
|
8063
|
-
"null",
|
|
8064
|
-
"string"
|
|
8065
|
-
]
|
|
8066
|
-
},
|
|
8067
|
-
"healthFailureURL": {
|
|
8068
|
-
"type": [
|
|
8069
|
-
"null",
|
|
8070
|
-
"string"
|
|
8071
|
-
]
|
|
8072
|
-
},
|
|
8073
|
-
"host": {
|
|
8074
|
-
"type": "string"
|
|
8075
|
-
},
|
|
8076
|
-
"maxCPU": {
|
|
8077
|
-
"type": "number"
|
|
8078
|
-
},
|
|
8079
|
-
"maxMemory": {
|
|
8080
|
-
"type": "number"
|
|
8081
|
-
},
|
|
8082
|
-
"metricsJSONPath": {
|
|
8083
|
-
"type": "string"
|
|
8084
|
-
},
|
|
8085
|
-
"port": {
|
|
8086
|
-
"type": "number"
|
|
8087
|
-
},
|
|
8088
|
-
"queued": {
|
|
8089
|
-
"type": "number"
|
|
8090
|
-
},
|
|
8091
|
-
"queuedAlertURL": {
|
|
8092
|
-
"type": [
|
|
8093
|
-
"null",
|
|
8094
|
-
"string"
|
|
8095
|
-
]
|
|
8096
|
-
},
|
|
8097
|
-
"rejectAlertURL": {
|
|
8098
|
-
"type": [
|
|
8099
|
-
"null",
|
|
8100
|
-
"string"
|
|
8101
|
-
]
|
|
8102
|
-
},
|
|
8103
|
-
"retries": {
|
|
8104
|
-
"type": "number"
|
|
8105
|
-
},
|
|
8106
|
-
"timeout": {
|
|
8107
|
-
"type": "number"
|
|
8108
|
-
},
|
|
8109
|
-
"timeoutAlertURL": {
|
|
8110
|
-
"type": [
|
|
8111
|
-
"null",
|
|
8112
|
-
"string"
|
|
8113
|
-
]
|
|
8114
|
-
},
|
|
8115
|
-
"token": {
|
|
8116
|
-
"type": [
|
|
8117
|
-
"null",
|
|
8118
|
-
"string"
|
|
8119
|
-
]
|
|
8120
|
-
}
|
|
8121
|
-
},
|
|
8122
|
-
"additionalProperties": false,
|
|
8123
|
-
"required": [
|
|
8124
|
-
"allowCORS",
|
|
8125
|
-
"allowFileProtocol",
|
|
8126
|
-
"allowGetCalls",
|
|
8127
|
-
"concurrent",
|
|
8128
|
-
"data",
|
|
8129
|
-
"debug",
|
|
8130
|
-
"errorAlertURL",
|
|
8131
|
-
"healthFailureURL",
|
|
8132
|
-
"host",
|
|
8133
|
-
"maxCPU",
|
|
8134
|
-
"maxMemory",
|
|
8135
|
-
"metricsJSONPath",
|
|
8136
|
-
"port",
|
|
8137
|
-
"queued",
|
|
8138
|
-
"queuedAlertURL",
|
|
8139
|
-
"rejectAlertURL",
|
|
8140
|
-
"retries",
|
|
8141
|
-
"timeout",
|
|
8142
|
-
"timeoutAlertURL",
|
|
8143
|
-
"token"
|
|
8144
|
-
],
|
|
8145
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
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"
|
|
8146
7970
|
}
|
|
8147
|
-
|
|
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"
|
|
8148
7996
|
}
|
|
7997
|
+
}
|
|
7998
|
+
],
|
|
7999
|
+
"requestBody": {
|
|
8000
|
+
"content": {}
|
|
8001
|
+
},
|
|
8002
|
+
"responses": {
|
|
8003
|
+
"101": {
|
|
8004
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8149
8005
|
},
|
|
8150
8006
|
"400": {
|
|
8151
8007
|
"code": 400,
|
|
@@ -8178,53 +8034,31 @@
|
|
|
8178
8034
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8179
8035
|
}
|
|
8180
8036
|
},
|
|
8181
|
-
"summary": "/
|
|
8037
|
+
"summary": "/devtools/page/*",
|
|
8182
8038
|
"tags": [
|
|
8183
|
-
"
|
|
8039
|
+
"Browser WebSocket APIs"
|
|
8184
8040
|
]
|
|
8185
8041
|
}
|
|
8186
8042
|
},
|
|
8187
|
-
"/
|
|
8043
|
+
"/chrome/playwright": {
|
|
8188
8044
|
"get": {
|
|
8189
8045
|
"definitions": {},
|
|
8190
|
-
"description": "
|
|
8046
|
+
"description": "Connect to Chromium with any playwright style library.",
|
|
8191
8047
|
"parameters": [
|
|
8192
|
-
{
|
|
8193
|
-
"in": "query",
|
|
8194
|
-
"name": "token",
|
|
8195
|
-
"required": true,
|
|
8196
|
-
"schema": {
|
|
8197
|
-
"description": "The authorization token",
|
|
8198
|
-
"type": "string"
|
|
8199
|
-
}
|
|
8200
|
-
},
|
|
8201
8048
|
{
|
|
8202
8049
|
"in": "query",
|
|
8203
8050
|
"name": "blockAds",
|
|
8204
|
-
"required": false,
|
|
8205
8051
|
"schema": {
|
|
8206
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.",
|
|
8207
8053
|
"type": "boolean"
|
|
8208
8054
|
}
|
|
8209
8055
|
},
|
|
8210
|
-
{
|
|
8211
|
-
"in": "query",
|
|
8212
|
-
"name": "browserId",
|
|
8213
|
-
"required": false,
|
|
8214
|
-
"schema": {
|
|
8215
|
-
"type": "string"
|
|
8216
|
-
}
|
|
8217
|
-
},
|
|
8218
8056
|
{
|
|
8219
8057
|
"in": "query",
|
|
8220
8058
|
"name": "launch",
|
|
8221
|
-
"required": false,
|
|
8222
8059
|
"schema": {
|
|
8223
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.",
|
|
8224
8061
|
"anyOf": [
|
|
8225
|
-
{
|
|
8226
|
-
"$ref": "#/definitions/CDPLaunchOptions"
|
|
8227
|
-
},
|
|
8228
8062
|
{
|
|
8229
8063
|
"$ref": "#/definitions/BrowserServerOptions"
|
|
8230
8064
|
},
|
|
@@ -8237,16 +8071,22 @@
|
|
|
8237
8071
|
{
|
|
8238
8072
|
"in": "query",
|
|
8239
8073
|
"name": "timeout",
|
|
8240
|
-
"required": false,
|
|
8241
8074
|
"schema": {
|
|
8242
8075
|
"description": "Override the system-level timeout for this request.\nAccepts a value in milliseconds.",
|
|
8243
8076
|
"type": "number"
|
|
8244
8077
|
}
|
|
8245
8078
|
},
|
|
8079
|
+
{
|
|
8080
|
+
"in": "query",
|
|
8081
|
+
"name": "token",
|
|
8082
|
+
"schema": {
|
|
8083
|
+
"description": "The authorization token",
|
|
8084
|
+
"type": "string"
|
|
8085
|
+
}
|
|
8086
|
+
},
|
|
8246
8087
|
{
|
|
8247
8088
|
"in": "query",
|
|
8248
8089
|
"name": "trackingId",
|
|
8249
|
-
"required": false,
|
|
8250
8090
|
"schema": {
|
|
8251
8091
|
"description": "Custom session identifier",
|
|
8252
8092
|
"type": "string"
|
|
@@ -8257,6 +8097,9 @@
|
|
|
8257
8097
|
"content": {}
|
|
8258
8098
|
},
|
|
8259
8099
|
"responses": {
|
|
8100
|
+
"101": {
|
|
8101
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8102
|
+
},
|
|
8260
8103
|
"400": {
|
|
8261
8104
|
"code": 400,
|
|
8262
8105
|
"description": "The request contains errors or didn't properly encode content.",
|
|
@@ -8288,80 +8131,71 @@
|
|
|
8288
8131
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8289
8132
|
}
|
|
8290
8133
|
},
|
|
8291
|
-
"summary": "/
|
|
8134
|
+
"summary": "/chrome/playwright",
|
|
8292
8135
|
"tags": [
|
|
8293
|
-
"
|
|
8136
|
+
"Browser WebSocket APIs"
|
|
8294
8137
|
]
|
|
8295
8138
|
}
|
|
8296
8139
|
},
|
|
8297
|
-
"/
|
|
8140
|
+
" /chromium": {
|
|
8298
8141
|
"get": {
|
|
8299
8142
|
"definitions": {},
|
|
8300
|
-
"description": "
|
|
8301
|
-
"parameters": [
|
|
8143
|
+
"description": "Launch and connect to Chromium with a library like puppeteer or others that work over chrome-devtools-protocol.",
|
|
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
|
+
],
|
|
8302
8193
|
"requestBody": {
|
|
8303
8194
|
"content": {}
|
|
8304
8195
|
},
|
|
8305
8196
|
"responses": {
|
|
8306
|
-
"
|
|
8307
|
-
"
|
|
8308
|
-
"application/json": {
|
|
8309
|
-
"schema": {
|
|
8310
|
-
"type": "object",
|
|
8311
|
-
"properties": {
|
|
8312
|
-
"version": {
|
|
8313
|
-
"description": "The semantic version of the Browserless API",
|
|
8314
|
-
"type": "string"
|
|
8315
|
-
},
|
|
8316
|
-
"chromium": {
|
|
8317
|
-
"description": "The version of Chromium installed, or null if not installed",
|
|
8318
|
-
"type": [
|
|
8319
|
-
"null",
|
|
8320
|
-
"string"
|
|
8321
|
-
]
|
|
8322
|
-
},
|
|
8323
|
-
"webkit": {
|
|
8324
|
-
"description": "The version of Webkit installed, or null if not installed",
|
|
8325
|
-
"type": [
|
|
8326
|
-
"null",
|
|
8327
|
-
"string"
|
|
8328
|
-
]
|
|
8329
|
-
},
|
|
8330
|
-
"firefox": {
|
|
8331
|
-
"description": "The version of Firefox installed, or null if not installed",
|
|
8332
|
-
"type": [
|
|
8333
|
-
"null",
|
|
8334
|
-
"string"
|
|
8335
|
-
]
|
|
8336
|
-
},
|
|
8337
|
-
"playwright": {
|
|
8338
|
-
"description": "The supported version(s) of puppeteer",
|
|
8339
|
-
"type": "array",
|
|
8340
|
-
"items": {
|
|
8341
|
-
"type": "string"
|
|
8342
|
-
}
|
|
8343
|
-
},
|
|
8344
|
-
"puppeteer": {
|
|
8345
|
-
"description": "The supported version(s) of playwright",
|
|
8346
|
-
"type": "array",
|
|
8347
|
-
"items": {
|
|
8348
|
-
"type": "string"
|
|
8349
|
-
}
|
|
8350
|
-
}
|
|
8351
|
-
},
|
|
8352
|
-
"additionalProperties": false,
|
|
8353
|
-
"required": [
|
|
8354
|
-
"chromium",
|
|
8355
|
-
"firefox",
|
|
8356
|
-
"playwright",
|
|
8357
|
-
"puppeteer",
|
|
8358
|
-
"version",
|
|
8359
|
-
"webkit"
|
|
8360
|
-
],
|
|
8361
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
8362
|
-
}
|
|
8363
|
-
}
|
|
8364
|
-
}
|
|
8197
|
+
"101": {
|
|
8198
|
+
"description": "Indicates successful WebSocket upgrade."
|
|
8365
8199
|
},
|
|
8366
8200
|
"400": {
|
|
8367
8201
|
"code": 400,
|
|
@@ -8394,67 +8228,72 @@
|
|
|
8394
8228
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8395
8229
|
}
|
|
8396
8230
|
},
|
|
8397
|
-
"summary": "/
|
|
8231
|
+
"summary": " /chromium",
|
|
8398
8232
|
"tags": [
|
|
8399
|
-
"
|
|
8233
|
+
"Browser WebSocket APIs"
|
|
8400
8234
|
]
|
|
8401
8235
|
}
|
|
8402
8236
|
},
|
|
8403
|
-
"/
|
|
8237
|
+
"/playwright/chromium /chromium/playwright": {
|
|
8404
8238
|
"get": {
|
|
8405
8239
|
"definitions": {},
|
|
8406
|
-
"description": "
|
|
8407
|
-
"parameters": [
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
"message": "HTTP/1.1 400 Bad Request"
|
|
8416
|
-
},
|
|
8417
|
-
"401": {
|
|
8418
|
-
"code": 401,
|
|
8419
|
-
"description": "The request is missing, or contains bad, authorization credentials.",
|
|
8420
|
-
"message": "HTTP/1.1 401 Unauthorized"
|
|
8240
|
+
"description": "Connect to Chromium with any playwright style library.",
|
|
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
|
+
}
|
|
8421
8249
|
},
|
|
8422
|
-
|
|
8423
|
-
"
|
|
8424
|
-
"
|
|
8425
|
-
"
|
|
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
|
+
}
|
|
8426
8264
|
},
|
|
8427
|
-
|
|
8428
|
-
"
|
|
8429
|
-
"
|
|
8430
|
-
"
|
|
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
|
+
}
|
|
8431
8272
|
},
|
|
8432
|
-
|
|
8433
|
-
"
|
|
8434
|
-
"
|
|
8435
|
-
"
|
|
8273
|
+
{
|
|
8274
|
+
"in": "query",
|
|
8275
|
+
"name": "token",
|
|
8276
|
+
"schema": {
|
|
8277
|
+
"description": "The authorization token",
|
|
8278
|
+
"type": "string"
|
|
8279
|
+
}
|
|
8436
8280
|
},
|
|
8437
|
-
|
|
8438
|
-
"
|
|
8439
|
-
"
|
|
8440
|
-
"
|
|
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 /chromium/playwright",
|
|
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 /firefox/playwright": {
|
|
8644
8529
|
"get": {
|
|
8645
8530
|
"definitions": {},
|
|
8646
|
-
"description": "
|
|
8647
|
-
"parameters": [
|
|
8531
|
+
"description": "Connect to Firefox with any playwright-compliant library.",
|
|
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,9 +8680,9 @@
|
|
|
8680
8680
|
"message": "HTTP/1.1 500 Internal Server Error"
|
|
8681
8681
|
}
|
|
8682
8682
|
},
|
|
8683
|
-
"summary": "/",
|
|
8683
|
+
"summary": "/playwright/firefox /firefox/playwright",
|
|
8684
8684
|
"tags": [
|
|
8685
|
-
"
|
|
8685
|
+
"Browser WebSocket APIs"
|
|
8686
8686
|
]
|
|
8687
8687
|
}
|
|
8688
8688
|
},
|