@Test(dataProvider = "capabilities")
public void testSendingKeyboardEventsShouldAppendTextInInputsMultipleDeviceFamilyAndOrientation(
DeviceType device,
DeviceVariation variation) throws Exception {
IOSCapabilities cap = new IOSCapabilities();
cap.setCapability(DEVICE, device);
cap.setDeviceVariation(variation);
cap.setCapability(LANGUAGE, "en");
cap.setCapability(LOCALE, "en_GB");
cap.setCapability(BUNDLE_NAME, "Safari");
RemoteIOSDriver driver = null;
try {
driver = new RemoteIOSDriver(new URL(url), cap);
for (Orientation o : getOrientationForDevice(device)) {