示例#1
0
        private static async Task InstallAllDriverAsync(InstallAllOptions opts)
        {
            opts.DriverPath ??= ".";

            Playwright.InstallDriver(opts.DriverPath);
            await Playwright.InstallAsync(opts.DriverPath, opts.BrowsersPath);
        }
示例#2
0
 private static Task InstallDriverAsync(InstallDriverOptions opts)
 {
     Playwright.InstallDriver(opts.Path ?? ".");
     return(Task.CompletedTask);
 }