Skip to content

feat(playwright): add PageAction extension point with built-in actions#1897

Open
rzo1 wants to merge 4 commits intomainfrom
playwright-page-actions
Open

feat(playwright): add PageAction extension point with built-in actions#1897
rzo1 wants to merge 4 commits intomainfrom
playwright-page-actions

Conversation

@rzo1
Copy link
Copy Markdown
Contributor

@rzo1 rzo1 commented May 4, 2026

Introduces a configurable post-navigate chain loaded from JSON via playwright.page.actions.config.file, so site-specific DOM transformations no longer require subclassing the protocol. Ships built-ins for overlay dismissal, clickable expansion, scroll-to-bottom, wait-for-selector, JS evaluation, and screenshot capture.

Introduces a configurable post-navigate chain loaded from JSON via
playwright.page.actions.config.file, so site-specific DOM transformations
no longer require subclassing the protocol. Ships built-ins for overlay
dismissal, clickable expansion, scroll-to-bottom, wait-for-selector,
JS evaluation, and screenshot capture.
@rzo1 rzo1 added this to the 3.6.0 milestone May 4, 2026
@jnioche
Copy link
Copy Markdown
Contributor

jnioche commented May 5, 2026

This is great, reminds me of the NavigationFilter mechanism we have for Selenium.

@rzo1
Copy link
Copy Markdown
Contributor Author

rzo1 commented May 5, 2026

This is great, reminds me of the NavigationFilter mechanism we have for Selenium.

Yes. It is inspired by it and we faced the lack of it in Playwright during Lisa's bachelor thesis :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants