mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
Initial public release
This commit is contained in:
commit
f1036a860c
289 files changed
+54589
No files matched your search
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "SessionStopResult",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"return_failures": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ReturnFailure"
|
||||
}
|
||||
},
|
||||
"returned_tab_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ErrorCode": {
|
||||
"description": "Stable daemon/extension error codes (§4.5).",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"unknown_method",
|
||||
"unsupported",
|
||||
"invalid_params",
|
||||
"not_found",
|
||||
"permission_denied",
|
||||
"timeout",
|
||||
"cdp_failed",
|
||||
"protocol_error",
|
||||
"cancelled",
|
||||
"user_aborted",
|
||||
"version_too_old",
|
||||
"multiple_browsers_online",
|
||||
"no_browser_connected"
|
||||
]
|
||||
},
|
||||
"ReturnFailure": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"code",
|
||||
"message",
|
||||
"tab_id"
|
||||
],
|
||||
"properties": {
|
||||
"code": {
|
||||
"$ref": "#/definitions/ErrorCode"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"tab_id": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user