This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from vania-pooh/master
Added ability to proxy downloaded files (fixes #168)
- Loading branch information
Showing
5 changed files
with
83 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
== Proxying Downloaded Files | ||
|
||
Similarly to proxying video files Ggr is able to return any files downloaded by browser in **running** Selenium session. | ||
|
||
. Downloaded files are expected to be stored on the hub hosts and accessible via the following URL: | ||
|
||
http://hub-host.example.com:4444/download/<real-session-id>/filename.txt | ||
|
||
+ | ||
Such notation for example is supported by http://aerokube.com/selenoid/latest[Selenoid]. | ||
. To get downloaded file via Ggr just use the same request but with the session ID returned to test: | ||
|
||
$ curl http://ggr-host.example.com:4444/video/<test-session-id>/filename.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters