Package org.testcontainers.containers
Class SeleniumUtils
java.lang.Object
org.testcontainers.containers.SeleniumUtils
Utility methods for Selenium.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringBased on the JARs detected on the classpath, determine which version of selenium-api is available.static StringgetSeleniumVersionFromManifest(Manifest manifest) Read Manifest to get Selenium Version.
-
Field Details
-
DEFAULT_SELENIUM_VERSION
- See Also:
-
-
Method Details
-
determineClasspathSeleniumVersion
Based on the JARs detected on the classpath, determine which version of selenium-api is available.- Returns:
- the detected version of Selenium API, or DEFAULT_SELENIUM_VERSION if it could not be determined
-
getSeleniumVersionFromManifest
Read Manifest to get Selenium Version.- Parameters:
manifest- manifest- Returns:
- Selenium Version detected
-