Package org.openqa.selenium.manager
Class SeleniumManager
java.lang.Object
org.openqa.selenium.manager.SeleniumManager
This implementation is still in beta, and may change.
The Selenium-Manager binaries are distributed in a JAR file (org.openqa.selenium:selenium-manager) for the Java binding language. Since these binaries are compressed within these JAR, we need to serialize the proper binary for the current platform (Windows, macOS, or Linux) as an executable file. To implement this we use a singleton pattern, since this way, we have a single instance in the JVM, and we reuse the resulting binary for all the calls to the Selenium Manager singleton during all the Java process lifetime, deleting the binary (stored as a local temporal file) on runtime shutdown.
-
Method Summary
Modifier and TypeMethodDescriptiongetBinaryPaths
(List<String> arguments) Executes Selenium Manager to get the locations of the requested assetsstatic SeleniumManager
-
Method Details
-
getInstance
-
getBinaryPaths
Executes Selenium Manager to get the locations of the requested assets- Parameters:
arguments
- List of command line arguments to send to Selenium Manager binary- Returns:
- the locations of the assets from Selenium Manager execution
-