add new flags
This commit is contained in:
@@ -42,6 +42,9 @@ func NewConverter(chromePath string) (*Converter, error) {
|
||||
chromedp.NoSandbox,
|
||||
chromedp.Headless,
|
||||
chromedp.DisableGPU,
|
||||
chromedp.Flag("disable-software-rasterizer", true),
|
||||
chromedp.Flag("disable-dev-shm-usage", true),
|
||||
chromedp.Flag("no-first-run", true),
|
||||
)
|
||||
|
||||
var allocCtx context.Context
|
||||
|
||||
Reference in New Issue
Block a user