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
Selenoid has an endpoint for getting downloaded files http://localhost:4444/download/8c73726789bccd33d9fec040263030a7/?json
BUT it returns only names of files:
["some-file.txt"]
But when downloading files in tests, it's important to wait until the downloading process is completed.
To achieve it, we need to check the last modification time of the file.
That's why we are asking to return meta-info about files. First of all, its modification time (in milliseconds) and probably size (in bytes):
The text was updated successfully, but these errors were encountered:
asolntsev
changed the title
Could Selenoid return file meta-info with /download/ endpoint
Selenoid /download/ endpoint could return file meta-info
Jan 29, 2023
Selenoid has an endpoint for getting downloaded files
http://localhost:4444/download/8c73726789bccd33d9fec040263030a7/?json
BUT it returns only names of files:
["some-file.txt"]
But when downloading files in tests, it's important to wait until the downloading process is completed.
To achieve it, we need to check the last modification time of the file.
That's why we are asking to return meta-info about files. First of all, its modification time (in milliseconds) and probably size (in bytes):
The text was updated successfully, but these errors were encountered: