Day 1 Mastering Playwright Automation with TypeScript: Setup, Configuration & First Test #playwright

preview_player
Показать описание
🚀 Welcome to Day 1 of Playwright Automation with TypeScript!

In this video, we'll kickstart our Playwright automation journey:

Setting up Playwright with TypeScript
Running tests in Chromium and Firefox browsers with custom resolutions
Writing and executing your first test script
📂 Editor Used: CodeLLM

npm init -y

# Install Playwright and dependencies
npm install @playwright/test typescript ts-node @types/node --save-dev

# Install browsers for Playwright
npx playwright install

# Run tests in Chromium browser
npx playwright test --project=chrome

#Playwright #TypeScript #AutomationTesting #Codellm #QA #Testing #webautomation #tutorial #beginners #job #softwaretesting
Рекомендации по теме
Комментарии
Автор

Hello Prasanth - hope you are doing good..i observed a difference after running this command in package.josn file

npm install @playwright/test typescript ts-node @types/node --save-dev
- There is not separate section available as "dependencies" and "devdependencies" - both are combined and displayed as below
"devDependencies": {
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
}
Is it new feature that "dependencies" section is no longer needed in package.json file ?

harishkce
visit shbcf.ru