Playwright
Playwright
Playwright
● Pre-requisites
○ Node.js installation
○ VSCode IDE setup
○ Package Manager (npm or yarn)
● VS Code IDE
○ Usage of VS Code
○ Installing VS Code plugins
○ VS Code shortcuts
● Introduction to TypeScript
○ What is TypeScript?
○ Why TypeScript over JavaScript?
● Basic TypeScript Features
○ How to define Types
○ Primitive Data Types
○ Functions & Expressions
● Data Structures
○ Arrays
○ Tuples
○ Union Types
● TypeScript Extras
○ Special Types
○ Casting
○ Object Types
● Run Tests
○ Running tests from the command line
○ Debugging tests
○ Using HTML test reporter
● Test Generator
○ How to generate tests with Codegen
● Locators
○ Locating elements by text, accessibility attributes, placeholders, etc.
● Actions
○ Interacting with elements (text inputs, checkboxes, radio buttons, etc.)
○ Mouse clicks, typing characters, shortcuts, file uploads
● Frames
○ How to handle iframes in Playwright
● Annotations & Assertions
○ Test annotations (skip, focus, tag tests)
○ Defining assertions using Playwright's expect library
● Trace Viewer
○ How to record and view traces
○ Opening the HTML report
● Command-line
○ Running tests using the command-line
● Config
○ Global vs. local configuration
● Parallelism & Sharding
○ Managing parallel worker processes
○ Limiting worker threads
● Reporters
○ Configuring multiple reports
○ Built-in Playwright reports
● Retry Mechanism
○ How to configure retries for flaky tests
● Timeouts
○ Setting global timeouts
○ Setting local timeouts
○ Auto-waiting in Playwright
● Git Essentials
○ Git Repositories and Commits
○ Git Merge, Pull, and Push commands
○ Git branching strategy
○ SourceTree tool usage
● Advanced Git Commands
○ Handling complex merges and conflict resolution
● Interactive Labs
○ Hands-on-lab for Playwright framework implementation
○ Writing real-time examples and executing them
● Live Projects
○ Practicing live project scenarios
● Playwright Documentation
○ Exploring Playwright official documentation
○ Typescript materials for reference
● Support and Guidance
○ Interview questions and guidance
○ Test consultation and project support (terms apply)
● Additional Deliverables
○ Lifetime access to recordings
○ Post-training support for projects (terms apply)
● Course Conclusion
○ Review key concepts
○ Final Q&A and project wrap-up
○ Interview Guidance
○ Interview Questions
○ Materials
○ Recordings
○ Source-code repo etc.,