You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
599 B
16 lines
599 B
import { LaunchBrowserTypes, type LaunchBrowserImpl, type LaunchBrowserInstance } from './LaunchBrowser.types';
|
|
/**
|
|
* Browser implementation for macOS
|
|
*/
|
|
export default class LaunchBrowserImplMacOS implements LaunchBrowserImpl, LaunchBrowserInstance {
|
|
private _process;
|
|
MAP: {
|
|
0: string;
|
|
1: string;
|
|
};
|
|
isSupportedBrowser(browserType: LaunchBrowserTypes): Promise<boolean>;
|
|
createTempBrowserDir(baseDirName: string): Promise<string>;
|
|
launchAsync(browserType: LaunchBrowserTypes, args: string[]): Promise<LaunchBrowserInstance>;
|
|
close(): Promise<void>;
|
|
}
|