Tons of Solutions Engineering work done today for the rest of the CS team! Headway, Howard Hanna, Engels, Brighton, etc. Also completed Datasnippers auth flow and worked on Anthology's script. Cloned Anthology's courses (900..) and will clone Full Story on Monday.
This commit is contained in:
27
Scripts/node_modules/chromium-bidi/lib/cjs/bidiServer/BrowserInstance.d.ts
generated
vendored
Normal file
27
Scripts/node_modules/chromium-bidi/lib/cjs/bidiServer/BrowserInstance.d.ts
generated
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
import { type ChromeReleaseChannel, type Process } from '@puppeteer/browsers';
|
||||
import type { MapperOptions } from '../bidiMapper/BidiServer.js';
|
||||
import { MapperCdpConnection } from './MapperCdpConnection.js';
|
||||
import type { SimpleTransport } from './SimpleTransport.js';
|
||||
type ChromeOptions = {
|
||||
chromeArgs: string[];
|
||||
chromeBinary?: string;
|
||||
channel: ChromeReleaseChannel;
|
||||
headless: boolean;
|
||||
};
|
||||
/**
|
||||
* BrowserProcess is responsible for running the browser and BiDi Mapper within
|
||||
* it.
|
||||
* 1. Launch Chromium (using Puppeteer for now).
|
||||
* 2. Get `BiDi-CDP` mapper JS binaries using `MapperReader`.
|
||||
* 3. Run `BiDi-CDP` mapper in launched browser using `MapperRunner`.
|
||||
* 4. Bind `BiDi-CDP` mapper to the `BiDi server` to forward messages from BiDi
|
||||
* Mapper to the client.
|
||||
*/
|
||||
export declare class BrowserInstance {
|
||||
#private;
|
||||
static run(chromeOptions: ChromeOptions, mapperOptions: MapperOptions, verbose: boolean): Promise<BrowserInstance>;
|
||||
constructor(mapperCdpConnection: MapperCdpConnection, browserProcess: Process);
|
||||
close(): Promise<void>;
|
||||
bidiSession(): SimpleTransport;
|
||||
}
|
||||
export {};
|
||||
Reference in New Issue
Block a user