mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			243 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			243 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
const { app, BrowserWindow } = require('electron');
 | 
						|
 | 
						|
app.whenReady().then(() => {
 | 
						|
  const win = new BrowserWindow({
 | 
						|
    width: 800,
 | 
						|
    height: 600,
 | 
						|
  });
 | 
						|
  win.loadURL('about:blank');
 | 
						|
})
 | 
						|
 | 
						|
app.on('window-all-closed', e => e.preventDefault());
 |