You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a concrete type that will satisfy the interface defined by #1155, and will match the current behaviour of the browser module when a screenshot is saved to the local disk.
Why?
To enable us to be be able to either persist the screenshot to the local disk or to upload to a remote location, we need to abstract away the details from the current implementation so that a concrete type can be used which could persist in either one of those two locations.
How?
There currently is no API in k6 that allows files to be persisted to disk, so we should implement it the exact same way as we are doing now. Don't worry about making async as suggested in the current comment, but leave the comment in so that we can work on it later if we need.
Tasks
The content you are editing has changed. Please copy your edits and refresh the page.
What?
Implement a concrete type that will satisfy the interface defined by #1155, and will match the current behaviour of the browser module when a screenshot is saved to the local disk.
Why?
To enable us to be be able to either persist the screenshot to the local disk or to upload to a remote location, we need to abstract away the details from the current implementation so that a concrete type can be used which could persist in either one of those two locations.
How?
There currently is no API in k6 that allows files to be persisted to disk, so we should implement it the exact same way as we are doing now. Don't worry about making async as suggested in the current comment, but leave the comment in so that we can work on it later if we need.
Tasks
Tasks
Related PR(s)/Issue(s)
Prerequisite issue: #1155
The text was updated successfully, but these errors were encountered: