Introduction
- What is Playwright Technology stack, Web Browsers Supported.
Visual Studio Code IDE IDE Requirements
- NodeJS
- NPM
- Installing & configuring VS Code
- Executing JavaScript in VS Code
Playwright Library Setup
- Package.jsonandnpm
- Installing Playwright API
- VS Code extensions
- First simple Playwright API script
Playwright Test Runner Setup
- Frameworks
- Installing Playwright-Test
- Creating your first Playwright Test
Recording
- Recording Scripts with the Inspector
Playwright Configuration
- Configuration file options
- Configuration precedence
- BaseURL
- Web Browser options
- Browser Navigation
- Project definitions
Locators
- Chrome Development Tools
- Playwright inbuilt selectors Text
- XPath Chrome extensions
- Playwright Inspector
Actions
- Common playwright actions
Assertions
- Assertion Libraries
- Web Elements
- Page Assertions
- Locators vs. Element Handles
Capturing Element Attributes
- Specific Methods
- Generic Methods for capturing data from the Web Application
Synchronizations (Waits)
- Auto wait
- Local Timeouts
- Test Spec Timeout
- Global Timeout Configuration
- Static Waits
Creating Helper Functions for Common tasks
Generating dynamic test data for Playwright tests
BDD (Behavior Driven Development)
Cucumber implementation in Playwright
API Testing via Playwright
- The Request Fixture
- Executing API tests against a REST Server
- Access Request Process and WorkItems
API Testing mocking data
- The Request Fixture
- Executing API tests against a REST Server
- Access Request Process and WorkItems
Database connectivity With Playwright
Hooks & Test Annotations
- Grouping Tests into Test Suites
- Skipping Tests
- Using Filter Tags, Hooks