Skip to content

Commit 7bb68ac

Browse files
committed
try more options
1 parent 8901839 commit 7bb68ac

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

main.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ import { chromium } from "npm:[email protected]";
33
async function main() {
44
await using browser = await chromium.launch({
55
headless: true,
6-
args: ["--no-sandbox", "--headless=new", "--siable-dev-shm-usage"],
6+
args: [
7+
"--no-sandbox",
8+
//"--headless=new",
9+
"--disable-dev-shm-usage",
10+
"--disable-setuid-sandbox",
11+
"--disable-gpu",
12+
"--no-xshm",
13+
"--disable-features=VizDisplayCompositor",
14+
],
715
});
816
await using page = await browser.newPage();
917
await page.goto("https://example.com");

0 commit comments

Comments
 (0)