diff --git a/lib/PuppeteerSharp/Launcher.cs b/lib/PuppeteerSharp/Launcher.cs index 5e9811547..8bbdcc465 100644 --- a/lib/PuppeteerSharp/Launcher.cs +++ b/lib/PuppeteerSharp/Launcher.cs @@ -79,7 +79,7 @@ public async Task LaunchAsync(LaunchOptions options) Process = options.Browser switch { - SupportedBrowser.Chrome or SupportedBrowser.Chromium => new ChromeLauncher(executable, options), + SupportedBrowser.Chrome or SupportedBrowser.Chromium or SupportedBrowser.ChromeHeadlessShell => new ChromeLauncher(executable, options), SupportedBrowser.Firefox => new FirefoxLauncher(executable, options), _ => throw new ArgumentException("Invalid browser"), };