-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
B-gridEverything grid and server relatedEverything grid and server relatedI-enhancementSomething could be betterSomething could be better
Description
Feature and motivation
I'm breaking up #11443 to clarify the different things that need to be implemented.
Have node:
* Check if se:enableDownloads
is set true
* Generate new UUID (can't be session ID, because grid needs to know the download location before the session ID is created)
* Create directory at $HOME/.cache/selenium/downloads/
* Add that directory to correct browser vendor namespaced preference requirements (see below)
* Somehow stores the location of that directory for future calls to the se/files
endpoints
* Deletes directory when session ends
For Chrome/Edge this preferences are:
"download.prompt_for_download": false
"download.default_directory": downloadDirectory
For Firefox this is:
"browser.download.folderList": 2
"browser.download.dir": downloadDirectory
Usage example
This is back end support for bindings
Metadata
Metadata
Assignees
Labels
B-gridEverything grid and server relatedEverything grid and server relatedI-enhancementSomething could be betterSomething could be better