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

Is there an option to open pdf externally in playwright? #20633

Closed
HK834 opened this issue Feb 4, 2023 · 1 comment
Closed

Is there an option to open pdf externally in playwright? #20633

HK834 opened this issue Feb 4, 2023 · 1 comment

Comments

@HK834
Copy link

HK834 commented Feb 4, 2023

Playwright version: 1.30.0
Visual Studio 2019, C# dotnet
Browser: [Chromium]
Operating System: Windows

Hi, we want to download a PDF file. We don't have a click option to download. So in selenium, we used to set the chrome options to "plugins.always_open_pdf_externally". Similarly, can we have some options for the playwright as well?

@mxschmitt
Copy link
Member

Folding into #7822. If you run it headless it should already result in a download event.

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

No branches or pull requests

2 participants