-
Notifications
You must be signed in to change notification settings - Fork 41
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
webdriver-bidi should let users know when a download is completed #427
Comments
I was looking for something similar regarding file downloads, until this is implemented, I was thinking of capturing a particular request (the api which is pending for file download) from the network tab and waiting until it is not in pending state. However, I'm not able to find any documenation/examples that shows how to capture response or status code of a particular api call. Any help is appreciated. I'm using selenium 4.9.0 with java. |
@karanjeetbirdeye I also wanted to do this, but didn't find this request in network tab. It seems that browser uses some different mechanism for downloading files. |
@asolntsev I dont think they have a particular api that tell us file downloaded is completed. In my case we have our internal api's in pending state until file download is complete. status changes to 200 when it is done. Maybe they can provide us a way to access one particular network call (whatever api we want)? then we can check if our file is downloaded or not |
@ksingha161 That's what we are talking about. We want Bidi to give us access to file downloads. Yes, they currently have such an API, and we want to get such an API. |
Use case:
I need to write an automated test that downloads a file.
My test looks like this:
Information from BiDi
So, the information we need from BiDi:
Nuances
Please take into account the following nuances:
.crdownload
and later renames it to its final name when the download is completed).The text was updated successfully, but these errors were encountered: