Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

282 B
Raw Blame
const { app, BrowserWindow } = require('electron');

app.whenReady().then(() => {
  const win = new BrowserWindow({
    width: 800,
    height: 600,
    webPreferences: { sandbox: true },
  });
  win.loadURL('about:blank');
})

app.on('window-all-closed', e => e.preventDefault());