Files
insta-recipe/playwright-service/server.js
Giancarmine Salucci 0477964009 PWA - patched deps
2025-11-29 17:35:20 +01:00

10 lines
312 B
JavaScript

const { chromium } = require('playwright');
(async () => {
const server = await chromium.launchServer({
port: 3000,
headless: true,
args: ['--disable-gpu', '--no-sandbox', '--disable-dev-shm-usage']
});
console.log('Browser Server running on port 3000...');
await new Promise(() => {});
})();