Adding WebDriverException to mouse move out of bounds error in .NET
@@ -1435,6 +1435,9 @@ private static void UnpackAndThrowOnError(Response errorResponse)
case WebDriverResult.UnexpectedJavaScriptError:
throw new WebDriverException(errorMessage);
+ case WebDriverResult.MoveTargetOutOfBounds:
+ throw new WebDriverException(errorMessage);
+
default:
throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, "{0} ({1})", errorMessage, errorResponse.Status));
}
