public RemoteIOSDriver(URL url, IOSCapabilities cap) {
super(url, cap);
this.remoteURL = url.toExternalForm();
executor = new WebDriverLikeCommandExecutor(this);
touchScreen = new RemoteTouchScreen(getExecuteMethod());
if (cap == null) {
this.requestedCapabilities = null;
} else {
this.requestedCapabilities = cap.getRawCapabilities();
}