Report
The following video may contain unacceptable content. Please let us know by clicking the REPORT button in the upper right corner while watching.
Start watching

Playwright beginner tutorial 8 | demo login test

▬ all free courses ►
▬ quiz
0000 *intro*
0015 *demo apps*
0120 *1st login test*
0839 [club22750761|*commands] to wait for element*
1141 *2nd login test*
1435 *3rd login test*

▬ ask raghav ►

create and run a demo login test
playwright sample login tests

test('login demo test 1', async ({ page }) => {

await page goto('
await page pause
await page locator('[placeholder="enter your username"]') fill('raghav');
await page locator('[placeholder="enter your password"]') fill('1234');
await page locator('text=sign in') click;
await page locator('text=acme') isvisible;
})

await page waitforselector('text=sign in', { timeout 4000 })
await expect(page l
#raghavpal #playwright login test

20220907
kszmco9xxvs
Related videos
Show more
Recent Trends