capabilities.setCapability("opera.product", OperaProduct.MOBILE);
capabilities.setCapability("opera.arguments", "-mobileui");
driver = new OperaDriver(capabilities);
} else if ("phantomjs".equalsIgnoreCase(browser)) {
driver = new FastPhantomJSDriver(DesiredCapabilities.phantomjs());
} else {
try {
driver = new RemoteWebDriverSupplier(browser).get();
} catch (Exception e) {
throw new RuntimeException("Unknown browser type. Should be one of 'firefox', 'iexplore', 'chrome', " +