Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff460fffa1 | ||
|
|
70102e991a |
@@ -42,6 +42,11 @@ func NewConverter(chromePath string) (*Converter, error) {
|
|||||||
chromedp.NoSandbox,
|
chromedp.NoSandbox,
|
||||||
chromedp.Headless,
|
chromedp.Headless,
|
||||||
chromedp.DisableGPU,
|
chromedp.DisableGPU,
|
||||||
|
chromedp.NoFirstRun,
|
||||||
|
chromedp.Flag("remote-debugging-port", "0"),
|
||||||
|
chromedp.Flag("disable-extensions", true),
|
||||||
|
chromedp.Flag("disable-software-rasterizer", true),
|
||||||
|
chromedp.Flag("disable-dev-shm-usage", true),
|
||||||
)
|
)
|
||||||
|
|
||||||
var allocCtx context.Context
|
var allocCtx context.Context
|
||||||
|
|||||||
Reference in New Issue
Block a user