Migrating to Playwright v1.58.0
Version v1.58.0 introduces 4 breaking changes. This guide details how to update your code.
Released: 1/23/2026
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
browserType.connectOverCDPbrowserType.launch_react_vue:lightBreaking Changes
●Issue #1
Removed `_react` and `_vue` selectors. Use the [locators guide](https://playwright.dev/docs/locators) for alternatives.
●Issue #2
Removed `:light` selector engine suffix. Use standard CSS selectors instead.
●Issue #3
Option `devtools` from [browserType.launch()](https://playwright.dev/docs/api/class-browsertype#browser-type-launch) has been removed. Use `args: ['--auto-open-devtools-for-tabs']` instead.
●Issue #4
Removed macOS 13 support for WebKit. Users should upgrade macOS or use an older Playwright version.
Migration Steps
- 1Replace usage of removed `_react` and `_vue` selectors with alternatives described in the [locators guide](https://playwright.dev/docs/locators).
- 2Replace usage of the removed `devtools` option in `browserType.launch()` with passing `args: ['--auto-open-devtools-for-tabs']`.
Release Summary
This release introduces timeline visualization in HTML reports and several usability enhancements to the UI Mode and Trace Viewer, alongside removing legacy selectors and the `devtools` launch option.
Need More Details?
View the full release notes and all changes for Playwright v1.58.0.
View Full Changelog