Add native events under se:ieOptions.
Add disable native events function as the native event for ie is enabled by default
.add(REQUIRE_WINDOW_FOCUS)
.add(UPLOAD_DIALOG_TIMEOUT)
.add(VALIDATE_COOKIE_DOCUMENT_TYPE)
+ .add(NATIVE_EVENTS)
.build();
private Map<String, Object> ieOptions = new HashMap<>();
@@ -207,10 +208,15 @@ public InternetExplorerOptions introduceFlakinessByIgnoringSecurityDomains() {
return amend(INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
}
+ @Deprecated
public InternetExplorerOptions enableNativeEvents() {
return amend(NATIVE_EVENTS, true);
}
+ public InternetExplorerOptions disableNativeEvents() {
+ return amend(NATIVE_EVENTS, false);
+ }
+
public InternetExplorerOptions ignoreZoomSettings() {
return amend(IGNORE_ZOOM_SETTING, true);
}
