links:: TAU Course Playwright with JavaScript by Ixchel Meza MOC

Chapter 2 - Writing Your First Playwright Script

Chapter 2 - Writing Your First Playwright Script

const { chromium } = require('playwright');
(async() => {
// function code
const browser = await chromium.launch({headless: false, sloMo: 100});
const page = await browser.newPage();
await page.goto('http://google.com');
await browser.close();
})();


node first.js