Skip to content
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

page.on('download').cancel() #1289

Open
7 tasks
Tracked by #98
inancgumus opened this issue Apr 29, 2024 · 0 comments
Open
7 tasks
Tracked by #98

page.on('download').cancel() #1289

inancgumus opened this issue Apr 29, 2024 · 0 comments
Labels
async supports async (promises) feature A new feature playwright Issue relating to Playwright compatibility

Comments

@inancgumus
Copy link
Member

inancgumus commented Apr 29, 2024

What?

Cancels a download. Will not fail if the download is already finished or canceled.

Why?

Allows users to cancel download dialog boxes.

How?

https://playwright.dev/docs/api/class-download#download-cancel

Tasks

Tasks

Related PR(s)/Issue(s)

#98

@inancgumus inancgumus added feature A new feature playwright Issue relating to Playwright compatibility labels Apr 29, 2024
@inancgumus inancgumus self-assigned this Apr 29, 2024
@inancgumus inancgumus changed the title page.on('download') Download.cancel May 6, 2024
@inancgumus inancgumus added the async supports async (promises) label May 6, 2024
@inancgumus inancgumus changed the title Download.cancel page.on('download').cancel() May 6, 2024
@inancgumus inancgumus removed their assignment May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
async supports async (promises) feature A new feature playwright Issue relating to Playwright compatibility
Projects
None yet
Development

No branches or pull requests

1 participant