$echo '{
< "testCode": "import { test, expect } from '\''@playwright/test'\''; \\n test('\''has title'\'', async ({ page }) => { \\n await page.goto('\''https://playwright.dev/'\'');\\n // Expect a title \\"to contain\\" a substring.\\n await expect(page).toHaveTitle(/Playwright/); \\n });\\n test('\''get started link'\'', async ({ page }) => {\\n await page.goto('\''https://playwright.dev/'\'');\\n // Click the get started link.\\n await page.getByRole('\''link'\'', { name: '\''Get started'\'' }).click();\\n // Expects the URL to contain intro. \\n await expect(page).toHaveURL(/.*intro/); \\n });"
<}' |
<apify call jindrich.bar/playwright-test --silent --output-dataset