-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
Milestone
Description
Status
For now, we're only doing this in Java, because Java is the only one that requires streaming it for each process.
Fixed by #12539
Feature and motivation
Right now, Java is decompressing the binary and putting it in a temp file, and all the other bindings are using them directly from where they are stored from within the respective package.
One option is to have the bindings as part of getBinary():
- check to see if the manager exists at a designated location (
~/.cache/selenium/selenium-manager/mac64/selenium-manager) - If it is get the version
- Compare the version to the "latest" (to start with we should keep this a constant with the selenium version being used)
- If it is the latest, use it, if it isn't decompress/stream/move from package to the cache location
The advantages are:
- No copying to temp files
- It would be the first step for Selenium Manager Manager ([🚀 Feature]: Selenium Manager Manager #11358) if we went that route
- I can just copy test binaries into the system directory to test them instead of needing to go through bazel (hard in some language, and actually impossible in .NET right now)
Usage example
n/a
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done