chore: merge browser and channel settings (#100)
This commit is contained in:
parent
9042c03faa
commit
4f16786432
4 changed files with 65 additions and 12 deletions
|
|
@ -65,6 +65,7 @@ const resources: Resource[] = [
|
|||
];
|
||||
|
||||
type Options = {
|
||||
browserName?: 'chromium' | 'firefox' | 'webkit';
|
||||
userDataDir?: string;
|
||||
launchOptions?: LaunchOptions;
|
||||
cdpEndpoint?: string;
|
||||
|
|
@ -80,6 +81,7 @@ export function createServer(options?: Options): Server {
|
|||
version: packageJSON.version,
|
||||
tools,
|
||||
resources,
|
||||
browserName: options?.browserName,
|
||||
userDataDir: options?.userDataDir ?? '',
|
||||
launchOptions: options?.launchOptions,
|
||||
cdpEndpoint: options?.cdpEndpoint,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue