import { chromium } from './node_modules/playwright/index.mjs'; const browser = await chromium.launch({ executablePath: '/home/node/.cache/ms-playwright/chromium-1208/chrome-linux64/chrome', args: ['--no-sandbox', '--disable-dev-shm-usage', '--disable-gpu'] }); const page = await browser.newPage(); await page.setViewportSize({ width: 1280, height: 800 }); await page.goto('http://localhost:18789', { waitUntil: 'networkidle', timeout: 10000 }); await page.screenshot({ path: 'openclaw_ui.png', fullPage: false }); console.log('✅ Screenshot pris'); await browser.close();