feat: install playwright
This commit is contained in:
7
playwright/tests/example.spec.js
Normal file
7
playwright/tests/example.spec.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// example.spec.js
|
||||
const { test, expect } = require("@playwright/test");
|
||||
|
||||
test("simple test", async ({ page }) => {
|
||||
await page.goto("https://playwright.dev");
|
||||
await expect(page).toHaveTitle(/Playwright/);
|
||||
});
|
||||
Reference in New Issue
Block a user