first commit
This commit is contained in:
94
node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.d.ts
generated
vendored
Normal file
94
node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.d.ts
generated
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
/**
|
||||
* Copyright 2023 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import type { ErrorResponse } from './generated/webdriver-bidi.js';
|
||||
import { ErrorCode } from './generated/webdriver-bidi.js';
|
||||
export declare class Exception {
|
||||
error: ErrorCode;
|
||||
message: string;
|
||||
stacktrace?: string | undefined;
|
||||
constructor(error: ErrorCode, message: string, stacktrace?: string | undefined);
|
||||
toErrorResponse(commandId: number): ErrorResponse;
|
||||
}
|
||||
export declare class InvalidArgumentException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class InvalidSessionIdException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class MoveTargetOutOfBoundsException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchAlertException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchElementException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchFrameException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchHandleException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchHistoryEntryException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchInterceptException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchNodeException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchRequestException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchScriptException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchUserContextException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class SessionNotCreatedException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnknownCommandException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnknownErrorException extends Exception {
|
||||
constructor(message: string, stacktrace?: string | undefined);
|
||||
}
|
||||
export declare class UnableToCaptureScreenException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnableToCloseBrowserException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnsupportedOperationException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class NoSuchStoragePartitionException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnableToSetCookieException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnableToSetFileInputException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
export declare class UnderspecifiedStoragePartitionException extends Exception {
|
||||
constructor(message: string, stacktrace?: string);
|
||||
}
|
||||
162
node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js
generated
vendored
Normal file
162
node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js
generated
vendored
Normal file
@@ -0,0 +1,162 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UnderspecifiedStoragePartitionException = exports.UnableToSetFileInputException = exports.UnableToSetCookieException = exports.NoSuchStoragePartitionException = exports.UnsupportedOperationException = exports.UnableToCloseBrowserException = exports.UnableToCaptureScreenException = exports.UnknownErrorException = exports.UnknownCommandException = exports.SessionNotCreatedException = exports.NoSuchUserContextException = exports.NoSuchScriptException = exports.NoSuchRequestException = exports.NoSuchNodeException = exports.NoSuchInterceptException = exports.NoSuchHistoryEntryException = exports.NoSuchHandleException = exports.NoSuchFrameException = exports.NoSuchElementException = exports.NoSuchAlertException = exports.MoveTargetOutOfBoundsException = exports.InvalidSessionIdException = exports.InvalidArgumentException = exports.Exception = void 0;
|
||||
class Exception {
|
||||
error;
|
||||
message;
|
||||
stacktrace;
|
||||
constructor(error, message, stacktrace) {
|
||||
this.error = error;
|
||||
this.message = message;
|
||||
this.stacktrace = stacktrace;
|
||||
}
|
||||
toErrorResponse(commandId) {
|
||||
return {
|
||||
type: 'error',
|
||||
id: commandId,
|
||||
error: this.error,
|
||||
message: this.message,
|
||||
stacktrace: this.stacktrace,
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.Exception = Exception;
|
||||
class InvalidArgumentException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("invalid argument" /* ErrorCode.InvalidArgument */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.InvalidArgumentException = InvalidArgumentException;
|
||||
class InvalidSessionIdException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("invalid session id" /* ErrorCode.InvalidSessionId */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.InvalidSessionIdException = InvalidSessionIdException;
|
||||
class MoveTargetOutOfBoundsException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("move target out of bounds" /* ErrorCode.MoveTargetOutOfBounds */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.MoveTargetOutOfBoundsException = MoveTargetOutOfBoundsException;
|
||||
class NoSuchAlertException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such alert" /* ErrorCode.NoSuchAlert */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchAlertException = NoSuchAlertException;
|
||||
class NoSuchElementException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such element" /* ErrorCode.NoSuchElement */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchElementException = NoSuchElementException;
|
||||
class NoSuchFrameException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such frame" /* ErrorCode.NoSuchFrame */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchFrameException = NoSuchFrameException;
|
||||
class NoSuchHandleException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such handle" /* ErrorCode.NoSuchHandle */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchHandleException = NoSuchHandleException;
|
||||
class NoSuchHistoryEntryException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such history entry" /* ErrorCode.NoSuchHistoryEntry */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchHistoryEntryException = NoSuchHistoryEntryException;
|
||||
class NoSuchInterceptException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such intercept" /* ErrorCode.NoSuchIntercept */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchInterceptException = NoSuchInterceptException;
|
||||
class NoSuchNodeException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such node" /* ErrorCode.NoSuchNode */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchNodeException = NoSuchNodeException;
|
||||
class NoSuchRequestException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such request" /* ErrorCode.NoSuchRequest */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchRequestException = NoSuchRequestException;
|
||||
class NoSuchScriptException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such script" /* ErrorCode.NoSuchScript */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchScriptException = NoSuchScriptException;
|
||||
class NoSuchUserContextException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such user context" /* ErrorCode.NoSuchUserContext */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchUserContextException = NoSuchUserContextException;
|
||||
class SessionNotCreatedException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("session not created" /* ErrorCode.SessionNotCreated */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.SessionNotCreatedException = SessionNotCreatedException;
|
||||
class UnknownCommandException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("unknown command" /* ErrorCode.UnknownCommand */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnknownCommandException = UnknownCommandException;
|
||||
class UnknownErrorException extends Exception {
|
||||
constructor(message, stacktrace = new Error().stack) {
|
||||
super("unknown error" /* ErrorCode.UnknownError */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnknownErrorException = UnknownErrorException;
|
||||
class UnableToCaptureScreenException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("unable to capture screen" /* ErrorCode.UnableToCaptureScreen */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnableToCaptureScreenException = UnableToCaptureScreenException;
|
||||
class UnableToCloseBrowserException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("unable to close browser" /* ErrorCode.UnableToCloseBrowser */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnableToCloseBrowserException = UnableToCloseBrowserException;
|
||||
class UnsupportedOperationException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("unsupported operation" /* ErrorCode.UnsupportedOperation */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnsupportedOperationException = UnsupportedOperationException;
|
||||
class NoSuchStoragePartitionException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("no such storage partition" /* ErrorCode.NoSuchStoragePartition */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.NoSuchStoragePartitionException = NoSuchStoragePartitionException;
|
||||
class UnableToSetCookieException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("unable to set cookie" /* ErrorCode.UnableToSetCookie */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnableToSetCookieException = UnableToSetCookieException;
|
||||
class UnableToSetFileInputException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("unable to set file input" /* ErrorCode.UnableToSetFileInput */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnableToSetFileInputException = UnableToSetFileInputException;
|
||||
class UnderspecifiedStoragePartitionException extends Exception {
|
||||
constructor(message, stacktrace) {
|
||||
super("underspecified storage partition" /* ErrorCode.UnderspecifiedStoragePartition */, message, stacktrace);
|
||||
}
|
||||
}
|
||||
exports.UnderspecifiedStoragePartitionException = UnderspecifiedStoragePartitionException;
|
||||
//# sourceMappingURL=ErrorResponse.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../../src/protocol/ErrorResponse.ts"],"names":[],"mappings":";;;AAmBA,MAAa,SAAS;IAEX;IACA;IACA;IAHT,YACS,KAAgB,EAChB,OAAe,EACf,UAAmB;QAFnB,UAAK,GAAL,KAAK,CAAW;QAChB,YAAO,GAAP,OAAO,CAAQ;QACf,eAAU,GAAV,UAAU,CAAS;IACzB,CAAC;IAEJ,eAAe,CAAC,SAAiB;QAC/B,OAAO;YACL,IAAI,EAAE,OAAO;YACb,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,IA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right 2023 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import type { Protocol } from 'devtools-protocol';
|
||||
import type { ProtocolMapping } from 'devtools-protocol/types/protocol-mapping.js';
|
||||
import type { BrowsingContext, JsUint } from './generated/webdriver-bidi.js';
|
||||
export type EventNames = Event['method'];
|
||||
export type Message = CommandResponse | Event;
|
||||
export type Command = {
|
||||
id: JsUint;
|
||||
} & CommandData;
|
||||
export type CommandData = SendCommandCommand | GetSessionCommand;
|
||||
export type CommandResponse = {
|
||||
type: 'success';
|
||||
id: JsUint;
|
||||
result: ResultData;
|
||||
};
|
||||
export type ResultData = SendCommandResult | GetSessionResult;
|
||||
export type SendCommandCommand = {
|
||||
method: 'cdp.sendCommand';
|
||||
params: SendCommandParameters;
|
||||
};
|
||||
export type SendCommandParameters<Command extends keyof ProtocolMapping.Commands = keyof ProtocolMapping.Commands> = {
|
||||
method: Command;
|
||||
params?: ProtocolMapping.Commands[Command]['paramsType'][0];
|
||||
session?: Protocol.Target.SessionID;
|
||||
};
|
||||
export type SendCommandResult = {
|
||||
result: ProtocolMapping.Commands[keyof ProtocolMapping.Commands]['returnType'];
|
||||
session?: Protocol.Target.SessionID;
|
||||
};
|
||||
export type GetSessionCommand = {
|
||||
method: 'cdp.getSession';
|
||||
params: GetSessionParameters;
|
||||
};
|
||||
export type GetSessionParameters = {
|
||||
context: BrowsingContext.BrowsingContext;
|
||||
};
|
||||
export type GetSessionResult = {
|
||||
session?: Protocol.Target.SessionID;
|
||||
};
|
||||
export type Event = {
|
||||
type: 'event';
|
||||
} & EventData;
|
||||
export type EventData = EventDataFor<keyof ProtocolMapping.Events>;
|
||||
export type EventDataFor<EventName extends keyof ProtocolMapping.Events> = {
|
||||
method: `cdp.${EventName}`;
|
||||
params: EventParametersFor<EventName>;
|
||||
};
|
||||
export type EventParametersFor<EventName extends keyof ProtocolMapping.Events> = {
|
||||
event: EventName;
|
||||
params: ProtocolMapping.Events[EventName][0];
|
||||
session: Protocol.Target.SessionID;
|
||||
};
|
||||
3
node_modules/chromium-bidi/lib/cjs/protocol/cdp.js
generated
vendored
Normal file
3
node_modules/chromium-bidi/lib/cjs/protocol/cdp.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=cdp.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"cdp.js","sourceRoot":"","sources":["../../../src/protocol/cdp.ts"],"names":[],"mappings":""}
|
||||
81
node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts
generated
vendored
Normal file
81
node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
/**
|
||||
* Copyright 2023 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import type * as Cdp from './cdp.js';
|
||||
import type * as WebDriverBidiPermissions from './generated/webdriver-bidi-permissions.js';
|
||||
import type * as WebDriverBidi from './generated/webdriver-bidi.js';
|
||||
export type EventNames = BiDiModule | BrowsingContext.EventNames | Cdp.EventNames | Log.EventNames | Network.EventNames | Script.EventNames;
|
||||
export declare enum BiDiModule {
|
||||
Browser = "browser",
|
||||
BrowsingContext = "browsingContext",
|
||||
Cdp = "cdp",
|
||||
Input = "input",
|
||||
Log = "log",
|
||||
Network = "network",
|
||||
Script = "script",
|
||||
Session = "session"
|
||||
}
|
||||
export declare namespace Script {
|
||||
enum EventNames {
|
||||
Message = "script.message",
|
||||
RealmCreated = "script.realmCreated",
|
||||
RealmDestroyed = "script.realmDestroyed"
|
||||
}
|
||||
}
|
||||
export declare namespace Log {
|
||||
enum EventNames {
|
||||
LogEntryAdded = "log.entryAdded"
|
||||
}
|
||||
}
|
||||
export declare namespace BrowsingContext {
|
||||
enum EventNames {
|
||||
ContextCreated = "browsingContext.contextCreated",
|
||||
ContextDestroyed = "browsingContext.contextDestroyed",
|
||||
DomContentLoaded = "browsingContext.domContentLoaded",
|
||||
DownloadWillBegin = "browsingContext.downloadWillBegin",
|
||||
FragmentNavigated = "browsingContext.fragmentNavigated",
|
||||
Load = "browsingContext.load",
|
||||
NavigationAborted = "browsingContext.navigationAborted",
|
||||
NavigationFailed = "browsingContext.navigationFailed",
|
||||
NavigationStarted = "browsingContext.navigationStarted",
|
||||
UserPromptClosed = "browsingContext.userPromptClosed",
|
||||
UserPromptOpened = "browsingContext.userPromptOpened"
|
||||
}
|
||||
}
|
||||
export declare namespace Network {
|
||||
enum EventNames {
|
||||
AuthRequired = "network.authRequired",
|
||||
BeforeRequestSent = "network.beforeRequestSent",
|
||||
FetchError = "network.fetchError",
|
||||
ResponseCompleted = "network.responseCompleted",
|
||||
ResponseStarted = "network.responseStarted"
|
||||
}
|
||||
}
|
||||
export type Command = (WebDriverBidi.Command | Cdp.Command | ({
|
||||
id: WebDriverBidi.JsUint;
|
||||
} & WebDriverBidiPermissions.PermissionsCommand)) & {
|
||||
channel?: WebDriverBidi.Script.Channel;
|
||||
};
|
||||
export type CommandResponse = WebDriverBidi.CommandResponse | Cdp.CommandResponse;
|
||||
export type Event = WebDriverBidi.Event | Cdp.Event;
|
||||
export declare const EVENT_NAMES: Set<BiDiModule | BrowsingContext.EventNames | Log.EventNames.LogEntryAdded | Network.EventNames | Script.EventNames>;
|
||||
export type ResultData = WebDriverBidi.ResultData | Cdp.ResultData;
|
||||
export type BidiPlusChannel = string | null;
|
||||
export type Message = (WebDriverBidi.Message | Cdp.Message | {
|
||||
launched: true;
|
||||
}) & {
|
||||
channel?: BidiPlusChannel;
|
||||
};
|
||||
93
node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js
generated
vendored
Normal file
93
node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js
generated
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2023 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.EVENT_NAMES = exports.Network = exports.BrowsingContext = exports.Log = exports.Script = exports.BiDiModule = void 0;
|
||||
// keep-sorted end
|
||||
var BiDiModule;
|
||||
(function (BiDiModule) {
|
||||
// keep-sorted start
|
||||
BiDiModule["Browser"] = "browser";
|
||||
BiDiModule["BrowsingContext"] = "browsingContext";
|
||||
BiDiModule["Cdp"] = "cdp";
|
||||
BiDiModule["Input"] = "input";
|
||||
BiDiModule["Log"] = "log";
|
||||
BiDiModule["Network"] = "network";
|
||||
BiDiModule["Script"] = "script";
|
||||
BiDiModule["Session"] = "session";
|
||||
// keep-sorted end
|
||||
})(BiDiModule || (exports.BiDiModule = BiDiModule = {}));
|
||||
var Script;
|
||||
(function (Script) {
|
||||
let EventNames;
|
||||
(function (EventNames) {
|
||||
// keep-sorted start
|
||||
EventNames["Message"] = "script.message";
|
||||
EventNames["RealmCreated"] = "script.realmCreated";
|
||||
EventNames["RealmDestroyed"] = "script.realmDestroyed";
|
||||
// keep-sorted end
|
||||
})(EventNames = Script.EventNames || (Script.EventNames = {}));
|
||||
})(Script || (exports.Script = Script = {}));
|
||||
var Log;
|
||||
(function (Log) {
|
||||
let EventNames;
|
||||
(function (EventNames) {
|
||||
EventNames["LogEntryAdded"] = "log.entryAdded";
|
||||
})(EventNames = Log.EventNames || (Log.EventNames = {}));
|
||||
})(Log || (exports.Log = Log = {}));
|
||||
var BrowsingContext;
|
||||
(function (BrowsingContext) {
|
||||
let EventNames;
|
||||
(function (EventNames) {
|
||||
// keep-sorted start
|
||||
EventNames["ContextCreated"] = "browsingContext.contextCreated";
|
||||
EventNames["ContextDestroyed"] = "browsingContext.contextDestroyed";
|
||||
EventNames["DomContentLoaded"] = "browsingContext.domContentLoaded";
|
||||
EventNames["DownloadWillBegin"] = "browsingContext.downloadWillBegin";
|
||||
EventNames["FragmentNavigated"] = "browsingContext.fragmentNavigated";
|
||||
EventNames["Load"] = "browsingContext.load";
|
||||
EventNames["NavigationAborted"] = "browsingContext.navigationAborted";
|
||||
EventNames["NavigationFailed"] = "browsingContext.navigationFailed";
|
||||
EventNames["NavigationStarted"] = "browsingContext.navigationStarted";
|
||||
EventNames["UserPromptClosed"] = "browsingContext.userPromptClosed";
|
||||
EventNames["UserPromptOpened"] = "browsingContext.userPromptOpened";
|
||||
// keep-sorted end
|
||||
})(EventNames = BrowsingContext.EventNames || (BrowsingContext.EventNames = {}));
|
||||
})(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {}));
|
||||
var Network;
|
||||
(function (Network) {
|
||||
let EventNames;
|
||||
(function (EventNames) {
|
||||
// keep-sorted start
|
||||
EventNames["AuthRequired"] = "network.authRequired";
|
||||
EventNames["BeforeRequestSent"] = "network.beforeRequestSent";
|
||||
EventNames["FetchError"] = "network.fetchError";
|
||||
EventNames["ResponseCompleted"] = "network.responseCompleted";
|
||||
EventNames["ResponseStarted"] = "network.responseStarted";
|
||||
// keep-sorted end
|
||||
})(EventNames = Network.EventNames || (Network.EventNames = {}));
|
||||
})(Network || (exports.Network = Network = {}));
|
||||
exports.EVENT_NAMES = new Set([
|
||||
// keep-sorted start
|
||||
...Object.values(BiDiModule),
|
||||
...Object.values(BrowsingContext.EventNames),
|
||||
...Object.values(Log.EventNames),
|
||||
...Object.values(Network.EventNames),
|
||||
...Object.values(Script.EventNames),
|
||||
// keep-sorted end
|
||||
]);
|
||||
//# sourceMappingURL=chromium-bidi.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"chromium-bidi.js","sourceRoot":"","sources":["../../../src/protocol/chromium-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAcH,kBAAkB;AAElB,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,oBAAoB;IACpB,iCAAmB,CAAA;IACnB,iDAAmC,CAAA;IACnC,yBAAW,CAAA;IACX,6BAAe,CAAA;IACf,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,kBAAkB;AACpB,CAAC,EAXW,UAAU,0BAAV,UA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UvB;AAoBY,QAAA,WAAW,GAAG,IAAI,GAAG,CAAC;IACjC,oBAAoB;IACpB,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;IAC5B,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,UAAU,CAAC;IAC5C,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC;IAChC,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC;IACpC,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC;IACnC,kBAAkB;CACnB,CAAC,CAAC"}
|
||||
46
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts
generated
vendored
Normal file
46
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts
generated
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/**
|
||||
* THIS FILE IS AUTOGENERATED. Run `npm run bidi-types` to regenerate.
|
||||
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
|
||||
*/
|
||||
export type PermissionsCommand = Permissions.SetPermission;
|
||||
export declare namespace Permissions {
|
||||
type PermissionDescriptor = {
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
const enum PermissionState {
|
||||
Granted = "granted",
|
||||
Denied = "denied",
|
||||
Prompt = "prompt"
|
||||
}
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
type SetPermission = {
|
||||
method: 'permissions.setPermission';
|
||||
params: Permissions.SetPermissionParameters;
|
||||
};
|
||||
}
|
||||
export declare namespace Permissions {
|
||||
type SetPermissionParameters = {
|
||||
descriptor: Permissions.PermissionDescriptor;
|
||||
state: Permissions.PermissionState;
|
||||
origin: string;
|
||||
};
|
||||
}
|
||||
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi-permissions.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
1975
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts
generated
vendored
Normal file
1975
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js
generated
vendored
Normal file
19
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2024 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
//# sourceMappingURL=webdriver-bidi.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"webdriver-bidi.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
|
||||
21
node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts
generated
vendored
Normal file
21
node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Copyright 2023 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export * as Cdp from './cdp.js';
|
||||
export * as ChromiumBidi from './chromium-bidi.js';
|
||||
export * from './generated/webdriver-bidi.js';
|
||||
export * from './ErrorResponse.js';
|
||||
export * from './generated/webdriver-bidi-permissions.js';
|
||||
51
node_modules/chromium-bidi/lib/cjs/protocol/protocol.js
generated
vendored
Normal file
51
node_modules/chromium-bidi/lib/cjs/protocol/protocol.js
generated
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ChromiumBidi = exports.Cdp = void 0;
|
||||
/**
|
||||
* Copyright 2023 Google LLC.
|
||||
* Copyright (c) Microsoft Corporation.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
exports.Cdp = __importStar(require("./cdp.js"));
|
||||
exports.ChromiumBidi = __importStar(require("./chromium-bidi.js"));
|
||||
__exportStar(require("./generated/webdriver-bidi.js"), exports);
|
||||
__exportStar(require("./ErrorResponse.js"), exports);
|
||||
__exportStar(require("./generated/webdriver-bidi-permissions.js"), exports);
|
||||
//# sourceMappingURL=protocol.js.map
|
||||
1
node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map
generated
vendored
Normal file
1
node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/protocol/protocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,gDAAgC;AAChC,mEAAmD;AACnD,gEAA8C;AAC9C,qDAAmC;AACnC,4EAA0D"}
|
||||
Reference in New Issue
Block a user