Add ability to access downloaded files and read them into InputStream via API call to Selenium Host #2322
dmitry-minchuk
started this conversation in
Ideas
Replies: 2 comments
-
Access download file via client bindings, I think you can refer to this https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/#downloads |
Beta Was this translation helpful? Give feedback.
0 replies
-
For the API access contents in container, I think we will solve it once this feat #1626 able to implement |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
This is already done in Selenoid: Link
Why not to do the same for dockerized Selenium/Seleniarm?
We will have to just build a correct URL like that:
GET http://selenium-host:4444/download/f2bcd32b-d932-4cdc-a639-687ab8e4f840/myfile.txt
There are numerous advantages of such approach:
Java code in this case looks simple:
Beta Was this translation helpful? Give feedback.
All reactions