add ai-analyzer and location-utils
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
console.log("START!");
|
||||
|
||||
const { chromium } = require("playwright");
|
||||
(async () => {
|
||||
console.log("browser!");
|
||||
|
||||
const browser = await chromium.launch({
|
||||
headless: true,
|
||||
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
||||
});
|
||||
console.log("new page!");
|
||||
|
||||
const page = await browser.newPage();
|
||||
console.log("GOTO!");
|
||||
|
||||
await page.goto("https://example.com");
|
||||
console.log("Success!");
|
||||
await browser.close();
|
||||
})();
|
||||
Reference in New Issue
Block a user