diff --git a/sample/SampleLambda-dotnet8/HelloWorldHandler.cs b/sample/SampleLambda-dotnet8/HelloWorldHandler.cs index d838175..bfb162b 100644 --- a/sample/SampleLambda-dotnet8/HelloWorldHandler.cs +++ b/sample/SampleLambda-dotnet8/HelloWorldHandler.cs @@ -12,7 +12,12 @@ public async Task Handle(ILambdaContext context) var loggerFactory = LoggerFactory.Create(builder => builder.AddConsole()); var browserLauncher = new HeadlessChromiumPuppeteerLauncher(loggerFactory); - await using (var browser = await browserLauncher.LaunchAsync()) + var launchArgs = HeadlessChromiumPuppeteerLauncher.DefaultChromeArgs + .Append("--enable-logging") + .Append("--v=1") + .ToArray(); + + await using (var browser = await browserLauncher.LaunchAsync(launchArgs)) await using (var page = await browser.NewPageAsync()) { await page.GoToAsync("https://www.google.com");