How to handle download events like playwright #2422
Unanswered
Israt-Jn
asked this question in
How to... ?
Replies: 2 comments
-
|
Bumping up question as I need to do it too and I'm clueless. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Not using that playwright approach but making the download location configurable: In serenity.config.ts set your downloads path in the BeforeAll section: Then in your test helper object, have some methods to handle resetting the Downloads folder, trigger the download and check if the file exists: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a test for such scenario that I want to
As for playwright, I was following this 'https://playwright.dev/docs/downloads'
How can I do the same using serenity-js.
Beta Was this translation helpful? Give feedback.
All reactions