RemoteIOSDriver driver = null;
try {
driver = new RemoteIOSDriver(new URL(url), cap);
for (Orientation o : getOrientationForDevice(device)) {
driver.rotate(o);
driver.get(pages.formPage);
WebElement element = driver.findElement(By.id("working"));
element.sendKeys("some");
String value = element.getAttribute("value");