Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Selenium BDD to Playwright: Practical Migration Guide
Rating: 4.5 out of 5(2 ratings)
21 students

Selenium BDD to Playwright: Practical Migration Guide

Migrate Selenium-Cucumber frameworks to Playwright BDD with TypeScript, fixtures, traces, CI sharding, and examples.
Created byBalaji S
Last updated 9/2026
English

What you'll learn

  • Decide whether a full, partial, or no migration is right for your Selenium BDD suite.
  • Map Java, Selenium, Cucumber, TestNG, Page Objects, hooks, waits, and Grid concepts to Playwright and TypeScript.
  • Convert features, fixtures, page objects, steps, waits, frames, tabs, files, and network tests to Playwright BDD.
  • Plan a phased migration with coexistence, CI sharding, storage state, traces, and measurable exit criteria.

Course content

1 section • 9 lectures • 53m total length
  • Course Overview and Migration Roadmap2:05
  • Why Selenium Frameworks Still Hurt7:12
  • The Playwright Decision Gate5:44
  • Map Selenium BDD Architecture to Playwright6:19
  • Migrate Features, Fixtures, Page Objects and Steps9:16
  • Migrate Forms, Data Grids, Frames, Tabs and Files6:28
  • Migrate Network Tests, Authentication, Parallelism and Traces6:40
  • Run a Phased Migration with Coexistence and CI5:30
  • Pitfalls, Migration Cheat Sheet and Next Steps4:30

Requirements

  • Working knowledge of Selenium WebDriver, Java, Cucumber BDD, and TestNG. Basic TypeScript and Node.js familiarity is helpful, not required.

Description

Migrate a mature Selenium BDD framework to Playwright without throwing away the behavior specifications your business already trusts.


This practical, code-first course follows a realistic retail-banking regression suite built with Java, Selenium WebDriver, Cucumber and TestNG. You will see how each major concept maps to a Playwright, TypeScript and playwright-bdd implementation, then walk through side-by-side migrations of real framework patterns.


We begin by examining what a well-built Selenium stack still struggles with: manual synchronization, stale elements, WebDriver round trips, Grid maintenance, limited network visibility, iframes, tabs, downloads and slow repeated logins. You will learn when Playwright is the right move, when a partial migration makes more sense, and when remaining on Selenium is the responsible choice.


The migration walkthrough covers feature files, fixtures, browser lifecycle, Page Objects, step definitions, web-first assertions, form controls, data grids, 3-D Secure frames, new tabs, downloads, uploads, response waits, network stubbing, storageState, workers, CI sharding, reports and trace evidence. It also shows how Selenium and Playwright can coexist during a phased rollout while one Gherkin layer remains the business-facing source of truth.


By the end, you will have a practical decision framework, a concept-by-concept migration map, a phased roadmap, common pitfalls to avoid and a concise Selenium-to-Playwright cheat sheet. This course is designed for experienced QA automation engineers, SDETs and test leads, not complete beginners.


This independent course is not affiliated with or endorsed by Microsoft, the Playwright project, Selenium or Cucumber.


Course preparation was AI-assisted. The narration uses the instructor's own authorized cloned voice.

Who this course is for:

  • QA automation engineers, SDETs, test leads, and teams maintaining Java Selenium-Cucumber frameworks who want a practical Playwright migration path.