diff --git a/screenshot.go b/screenshot.go index 831cb08..db41839 100644 --- a/screenshot.go +++ b/screenshot.go @@ -135,6 +135,8 @@ func Screenshot[T As](ctx context.Context, input *url.URL, options ...Screenshot chromedp.DefaultExecAllocatorOptions[:], // chromedp.CombinedOutput(log.Writer()), chromedp.NoDefaultBrowserCheck, + chromedp.Flag("use-gl", "angle"), + chromedp.Flag("use-angle", "swiftshader"), chromedp.Flag("ignore-certificate-errors", true), chromedp.Flag("allow-running-insecure-content", true), chromedp.Flag("no-default-browser-check", true),