chore: merge browser and channel settings (#100)

This commit is contained in:
Pavel Feldman
2025-04-01 10:26:48 -07:00
committed by GitHub
parent 9042c03faa
commit 4f16786432
4 changed files with 65 additions and 12 deletions

View File

@@ -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,