A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.

This commit is contained in:
Norm Rasmussen
2024-02-28 17:13:10 -05:00
parent dbcdfc8472
commit 1184fe0cd1
1107 changed files with 76526 additions and 8934 deletions

View File

@ -15,7 +15,8 @@
* limitations under the License.
*/
import type * as Cdp from './cdp.js';
import type * as WebDriverBidi from './webdriver-bidi.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",
@ -63,15 +64,18 @@ export declare namespace Network {
ResponseStarted = "network.responseStarted"
}
}
export type Command = (WebDriverBidi.Command | Cdp.Command) & {
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?: WebDriverBidi.Script.Channel;
channel?: BidiPlusChannel;
};