Skip to content

Commit

Permalink
Try a bunch of different args
Browse files Browse the repository at this point in the history
  • Loading branch information
brianfeucht committed May 23, 2024
1 parent dba8de9 commit 3b8b71d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sample/SampleLambda-dotnet8/HelloWorldHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ public async Task<byte[]> Handle(ILambdaContext context)
var launchArgs = HeadlessChromiumPuppeteerLauncher.DefaultChromeArgs
.Append("--enable-logging")
.Append("--v=1")
.Append("--enable-webgl")
.Append("--mute-audio")
.Append("--ignore-gpu-blacklist")
.Append("--homedir=/tmp")
.Append("--data-path=/tmp/data-path")
.Append("--disk-cache-dir=/tmp/cache-dir")
.Append("--crash-dumps-dir=/tmp")
.Append("--disable-crash-reporter")
.Append("--disable-breakpad")
.ToArray();

await using (var browser = await browserLauncher.LaunchAsync(launchArgs))
Expand Down

0 comments on commit 3b8b71d

Please sign in to comment.