Mastering Playwright Commands

Mastering Playwright Commands

There are several playwright commands which we use it in daily basis. listed down all the important commands.

->Start installing Playwright. -

npm init playwright@latest         

1. Install Browsers manually -

 npx playwright install         

2. Runs the end-to-end tests -

npx playwright test         

3. Starts the interactive UI mode -

npx playwright test --ui         

4. Runs the tests only on Desktop Chrome -

npx playwright test --project=chromium         

5. Runs the tests in a specific file -

npx playwright test example         

6. Runs the tests in debug mode -

npx playwright test --debug         

7. Auto generate tests with Codegen -

npx playwright codegen         

8. dotenv Package Installation Command -

npm install dotenv --save         

9. csv-parse Package Installation Command -

npm install csv-parse         

10. faker-js plugin for test data generation -

npm install @faker-js/faker --save-dev 1        

1. luxon plugin for custom dates -

npm install --save luxon         


===== Playwright Automation Full Courses =====

-> Playwright Full Course - https://youtube.com/playlist?list=PLUeDIlio4THEgPRVJRqZRS8uw8hhVNQCM&si=65JRAAG-SkkfphDm

-> Playwright API Testing Crash Course - https://youtube.com/playlist?list=PLUeDIlio4THF3rnYZ63qkbHwMTXiG67vz&si=hNd_ji_kXVmIAr_R

-> Playwright with Azure DeveOps Pipeline - https://youtube.com/playlist?list=PLUeDIlio4THG8irTXJn-Z02nYzmi6dUOF&si=3b4G5tvemlPy0--j

-> Playwright with CRM application testing - https://youtu.be/WwovRRp0f4o?si=w0rzJlUI9BhfP4KS


===== Playwright GitHub Repositories =====

-> Playwright Full Course - https://github.com/BakkappaN/PlaywrightTutorialFullCourse

-> Playwright API Testing Crash Course - https://github.com/BakkappaN/PlaywrightAPITestingTutorial

-> Playwright with Azure DeveOps Pipeline - https://github.com/BakkappaN/PlaywrightAzureDevopsPipeline

-> Playwright with CRM application testing -https://github.com/BakkappaN/MicrosoftD365CRMPlaywrightFramework

-> Playwright with JavaScript Framework [UI + API] - https://github.com/BakkappaN/PlaywrightBaseAutomationFramework

-> Playwright with TypeScript Framework [UI + API]- https://github.com/BakkappaN/Playwright-TypeScript-Framework

Learn more about Playwright:


-> Playwright API Testing Crash Course


-> Playwright with Azure Devops Complete guide


-> Testing Microsoft CRM application using Playwright


#playwright #apitesting #qa #softwaretesting #crm #javascript #typescript #ado #azuredeveops #framework #fullcourse #codegen #test #e2e #testing #automation #testerstalk #bakkappan #git #github

要查看或添加评论,请登录

Bakkappa N的更多文章

社区洞察

其他会员也浏览了