예제 #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);
 }