}
protected WebDriver createAndroidDriver() {
try {
String url = System.getProperty("webdriver.android.url", "http://localhost:8080/hub");
ScreenOrientation screenOrientation = ScreenOrientation.valueOf(System.getProperty(
"webdriver.android.screenOrientation", "portrait").toUpperCase(usingLocale()));
AndroidDriver driver = new AndroidDriver(url);
driver.rotate(screenOrientation);
return driver;
} catch (MalformedURLException e) {