Class SeleniumUtils
java.lang.Object
software.xdev.testcontainers.selenium.containers.browser.SeleniumUtils
Utility methods for Selenium.
Forked from Testcontainers and enhanced with caching.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic 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
-
getClasspathSeleniumVersion
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
-
determineClasspathSeleniumVersion
-
getSeleniumVersionFromManifest
Read Manifest to get Selenium Version.- Parameters:
manifest- manifest- Returns:
- Selenium Version detected
-