Skip to content

Send unroute to the page instead of the context (fix #96)#110

Merged
smnandre merged 1 commit into
playwright-php:mainfrom
smnandre:sa/page-unroute
Jul 21, 2026
Merged

Send unroute to the page instead of the context (fix #96)#110
smnandre merged 1 commit into
playwright-php:mainfrom
smnandre:sa/page-unroute

Conversation

@smnandre

Copy link
Copy Markdown
Member

Page::unroute() delegated to BrowserContext::unroute(), a no-op because the route is registered on the page object server-side.

Send page.unroute and handle it in the PageHandler registry.

Fixes #96

@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Page::unroute() delegated to BrowserContext::unroute(), a no-op because the route is registered on the page object server-side. Send page.unroute and handle it in the PageHandler registry. Fixes playwright-php#96
@smnandre
smnandre merged commit 83e1255 into playwright-php:main Jul 21, 2026
11 checks passed
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.

Page@unroute not working

1 participant