Node updated. Some todos.
This commit is contained in:
10
Scripts/node_modules/chromium-bidi/lib/cjs/bidiServer/BrowserInstance.d.ts
generated
vendored
10
Scripts/node_modules/chromium-bidi/lib/cjs/bidiServer/BrowserInstance.d.ts
generated
vendored
@ -1,12 +1,9 @@
|
||||
import { type ChromeReleaseChannel, type Process } from '@puppeteer/browsers';
|
||||
import type { MapperOptions } from '../bidiMapper/BidiServer.js';
|
||||
import { type Process } from '@puppeteer/browsers';
|
||||
import { MapperServerCdpConnection } from './MapperCdpConnection.js';
|
||||
import type { SimpleTransport } from './SimpleTransport.js';
|
||||
type ChromeOptions = {
|
||||
export type ChromeOptions = {
|
||||
chromeArgs: string[];
|
||||
chromeBinary?: string;
|
||||
channel: ChromeReleaseChannel;
|
||||
headless: boolean;
|
||||
};
|
||||
/**
|
||||
* BrowserProcess is responsible for running the browser and BiDi Mapper within
|
||||
@ -19,9 +16,8 @@ type ChromeOptions = {
|
||||
*/
|
||||
export declare class BrowserInstance {
|
||||
#private;
|
||||
static run(chromeOptions: ChromeOptions, mapperOptions: MapperOptions, verbose: boolean): Promise<BrowserInstance>;
|
||||
static run(chromeOptions: ChromeOptions, verbose: boolean): Promise<BrowserInstance>;
|
||||
constructor(mapperCdpConnection: MapperServerCdpConnection, browserProcess: Process);
|
||||
close(): Promise<void>;
|
||||
bidiSession(): SimpleTransport;
|
||||
}
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user