Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions
Jump to navigation
Jump to search
Udemy Playwright: Web Automation Testing From Zero to Hero (view source)
Revision as of 05:31, 20 May 2024
, 20 May→next TBD
m (→next TBD) |
|||
Line 40: | Line 40: | ||
I'm familiar with javascript - I'm fast forwarding through this without keeping notes | I'm familiar with javascript - I'm fast forwarding through this without keeping notes | ||
== | == Section 3 - Playwright Hands-On Overview == | ||
* create new folder & <code>npm init playwright@latest</code> | |||
* CLI Test Executions | |||
<nowiki> | |||
npx playwright test | |||
npx playwright test example.spec.ts --project=chromium --headed | |||
npx playwright test -g "has title" | |||
npx playwright show-report</nowiki> | |||
* OMG this debug UI is cool! | |||
<nowiki>npx playwright test --ui</nowiki> |