public class EnvironmentUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
MAC_BROWSER |
static String |
UBUNTU_BROWSER |
static String |
WINDOWS_BROWSER |
Constructor and Description |
---|
EnvironmentUtils() |
Modifier and Type | Method and Description |
---|---|
String |
getBrowserName()
getBrowserName
Ask for the browser name.
|
static EnvironmentUtils |
getInstance() |
boolean |
isUnsupportedBrowserEnvironment()
isUnsupportedBrowserEnvironment
Checks the available browser to see if it is an unsupported one.
|
boolean |
isWebkitUnavailable()
isWebkitUnavailable
Checks the existence of the webkit library on ubuntu 16 or ubuntu 14 .
|
public static final String UBUNTU_BROWSER
public static final String MAC_BROWSER
public static final String WINDOWS_BROWSER
public static EnvironmentUtils getInstance()
public boolean isUnsupportedBrowserEnvironment()
public boolean isWebkitUnavailable()
public String getBrowserName()