Ir al contenido
verdict:

Playwright 1.56.0

featured

note: la síntesis y las notas de la versión están en inglés

note: sin síntesis para esta release más antigua

Sintetizamos las releases recientes. Las notas de la versión originales de esta versión están aquí abajo.

release-notesgithub.com/microsoft/playwright · 47 líneas
  1. ## Playwright Agents
  2. Introducing Playwright Agents, three custom agent definitions designed to guide LLMs through the core process of building a Playwright test:
  3. * **🎭 planner** explores the app and produces a Markdown test plan
  4. * **🎭 generator** transforms the Markdown plan into the Playwright Test files
  5. * **🎭 healer** executes the test suite and automatically repairs failing tests
  6. Run `npx playwright init-agents` with your client of choice to generate the latest agent definitions:
  7. ```bash
  8. # Generate agent files for each agentic loop
  9. # Visual Studio Code
  10. npx playwright init-agents --loop=vscode
  11. # Claude Code
  12. npx playwright init-agents --loop=claude
  13. # opencode
  14. npx playwright init-agents --loop=opencode
  15. ```
  16. > [!NOTE]
  17. > VS Code v1.105 (currently on the VS Code Insiders channel) is needed for the agentic experience in VS Code. It will become stable shortly, we are a bit ahead of times with this functionality!
  18. [Learn more about Playwright Agents](https://playwright.dev/docs/test-agents)
  19. ## New APIs
  20. - New methods [page.consoleMessages()](https://playwright.dev/docs/api/class-page#page-console-messages) and [page.pageErrors()](https://playwright.dev/docs/api/class-page#page-page-errors) for retrieving the most recent console messages from the page
  21. - New method [page.requests()](https://playwright.dev/docs/api/class-page#page-requests) for retrieving the most recent network requests from the page
  22. - Added [`--test-list` and `--test-list-invert`](https://playwright.dev/docs/test-cli#test-list) to allow manual specification of specific tests from a file
  23. ## UI Mode and HTML Reporter
  24. - Added option to `'html'` reporter to disable the "Copy prompt" button
  25. - Added option to `'html'` reporter and UI Mode to merge files, collapsing test and describe blocks into a single unified list
  26. - Added option to UI Mode mirroring the `--update-snapshots` options
  27. - Added option to UI Mode to run only a single worker at a time
  28. ## Breaking Changes
  29. - Event [browserContext.on('backgroundpage')](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-background-page) has been deprecated and will not be emitted. Method [browserContext.backgroundPages()](https://playwright.dev/docs/api/class-browsercontext#browser-context-background-pages) will return an empty list
  30. ## Miscellaneous
  31. - Aria snapshots render and compare `input` `placeholder`
  32. - Added environment variable `PLAYWRIGHT_TEST` to Playwright worker processes to allow discriminating on testing status
  33. ## Browser Versions
  34. - Chromium 141.0.7390.37
  35. - Mozilla Firefox 142.0.1
  36. - WebKit 26.0

ver en githubimported 2026-09-28 vía npm