* Get the expected Selenium client version based on the current server version. Used when requesting drivers from
* Sauce.
*/
public static String getSeleniumClientVersion() {
if (SELENIUM_VERSION == null) {
String version = new BuildInfo().getReleaseLabel();
if (version.matches("^\\d+\\.\\d+\\.\\d+$")) {
SELENIUM_VERSION = version;
} else {
try {
Properties p = new Properties();