Skip to content

[Feature]: Makepage.goto(<url with Content-Disposition: attachment>) detectable #35880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Skn0tt opened this issue May 7, 2025 · 0 comments

Comments

@Skn0tt
Copy link
Member

Skn0tt commented May 7, 2025

🚀 Feature Request

When calling page.goto on a URL that returns Content-Disposition: attachment, there's currently differing behaviour between browsers. I'd like it to be detectable. For example by aligning Chromium with the "Download is starting" error thrown by other browsers:

expect(responseOrError.message).toContain('net::ERR_ABORTED');

This likely needs upstream Chromium changes.

Example

microsoft/playwright-mcp#328

Motivation

microsoft/playwright-mcp#328

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

No branches or pull requests

2 participants