selenium: [π Bug]: Get download file in client
What happened?
i have dynamic grid env , was working with old implantation for support download ( - SE_OPTS=--downloads-path /home/seluser/Downloads ,etc) and it worked fine .
now started to config new download way ( - SE_OPTS=--enable-managed-downloads true)
issue is after download file in browser during test, and run get for http://localhost:4444/session/my session id/se/files got an empty respond value like below .
{
"value": {
"names": [
]
}
}
How can we reproduce the issue?
in node docker set environment : - SE_OPTS=--enable-managed-downloads true
in code set desired_capabilities= "se:downloadsEnabled": "true"
Relevant log output
no error in log
Operating System
dynamic-grid docker
Selenium version
latest
What are the browser(s) and version(s) where you see this issue?
latest
What are the browser driver(s) and version(s) where you see this issue?
latest
Are you using Selenium Grid?
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 37 (19 by maintainers)
This is what I used:
docker compose
Test
Hi,
Any news on this bug?
It was postponed in several versions. Will it be fixed in 3.14?
Thanks!
@titusfortner @diemol - I think we can go ahead and close this issue
I have tried using selenium
4.15.0, coupled with docker tag4.15.0-20231102Just for the sake of completeness, hereβs the docker compose file
TestNG test running on Chrome
TestNG test running on Firefox
We missed Dynamic Grid when we revamped the downloads feature. I just fixed it so it works out of the box in 4.10.0.
In the mean time, you can add manually the
"se:downloadsEnabled": "true"capability to the stereotypes in theconfig.toml.yes , only while session is active I get respond , if test/session is end then error is deferent (something like no session found )