fix: add init background gradient (#2502)
This commit is contained in:
@@ -110,7 +110,7 @@ export async function withBrowser(fn: (page: Page) => void | Promise<void>) {
|
||||
try {
|
||||
const browser = await launch({
|
||||
args: ["--no-sandbox"],
|
||||
// headless: false,
|
||||
headless: !Deno.args.includes("--headful"),
|
||||
});
|
||||
|
||||
const page = await browser.newPage();
|
||||
|
||||
Reference in New Issue
Block a user