Ingenious Teach Hub

Home
/
Сourses
/
Course Detail
/

Playwright with JavaScript

Build expertise in Playwright with JavaScript, enabling you to create robust, fast, and cross-browser automation scripts for web applications.

4.9 (146 reviews)
Created
Mohit
Level
Beginner
Duration
120 Hours
Lessons
3 Video
Webinar
4 Hours

Course Content

  • Variables (var, let, const)
  • Data types (String, Number, Boolean, etc.)
  • Operators (arithmetic, comparison, logical)
  • Conditional statements (if, else, switch)
  • Loops (for, while, do-while)
  • Function declarations and expressions
  • Arrow functions
  • Callback functions
  • try, catch, finally
  • Common JavaScript errors
  • Accessing elements (getElementById, querySelector)
  • Modifying HTML and CSS dynamically
  • Event handling (click, change, etc.)
  • Promises and .then
  • Async/Await
  • Fetch API
  • Template literals
  • Destructuring
  • Spread/rest operators
  • Modules (import/export)
  • Software testing basics (Unit, Integration, End-to-End)
  • JavaScript testing frameworks (e.g., Jest)
  • Writing basic test cases
  • Debugging with browser developer tools
  • Debugging JavaScript in VS Code

Playwright Curriculum for Software Testers (JavaScript)

  • Overview of Playwright
  • Differences between Playwright, Selenium, and Cypress
  • Installing Playwright (npm init playwright@latest)
  • Installing Node.js and npm
  • Initializing a Playwright project (npm init)
  • Project structure in Playwright
  • Configuring playwright.config.js
  • Launching browsers (Chromium, Firefox, WebKit)
  • Browser contexts and incognito mode
  • Pages and navigation
  • Basic browser interactions (click, type, wait)
  • Types of locators (CSS, XPath, text, role-based locators)
  • Using Playwright’s locator strategy (locator())
  • Handling dynamic elements
  • Using built-in Playwright assertions (toBeVisible, toHaveText, etc.)
  • Custom assertions for specific scenarios
  • Working with forms (fill, select, check, uncheck)
  • File uploads and downloads
  • Handling popups and dialogs
  • Mouse and keyboard events
  • Explicit waits (waitForSelector, waitForTimeout)
  • Handling timeouts effectively
  • Using Playwright’s auto-wait mechanism
  • Creating a folder structure for tests (tests, fixtures, utils)
  • Reusable helper functions
  • Integrating Page Object Model (POM) design pattern
  • Parameterizing tests using data-driven techniques
  • Working with iframes
  • Handling multiple tabs/windows
  • Capturing screenshots and videos
  • Capturing network requests and mocking API responses
  • Running tests locally (npx playwright test)
  • Configuring headless and headed modes
  • Parallel test execution
  • Filtering and grouping tests
  • Generating HTML test reports
  • Configuring Playwright Test Reporter
  • Analyzing test logs and error screenshots
  • Running tests on different browsers
  • Testing on mobile emulation and devices
  • Configuring tests for CI/CD pipelines (e.g., GitHub Actions, Jenkins)
  • Using the Playwright Inspector tool
  • Debugging with VS Code
  • Tracing test execution with Playwright Trace Viewer
  • Integrating Playwright with Jest/Mocha for unit and integration tests
  • Using Allure for advanced reporting
  • Continuous Integration setup with Playwright

Download Course Brochure

Sign up and start learning today

Flexibility in Planning and Teaching

Theoretical Knowledge

Adipiscing bibendum est ultricies integer. Magnis dis parturient montes nascetur ridiculus mus mauris

Practical Skills

Facilisi nullam vehicula ipsum a arcu cursus vitae. Interdum velit laoreet id donec ultrices tincidunt arcu

Sessions with Mentors

Lectus magna fringilla urna porttitor rhoncus dolor purus non. Orci dapibus ultrices in iaculis

Apply Now