Skip to content

Commit 1e65b7b

Browse files
committed
[java] Removing deprecated NATIVE_EVENTS field
1 parent f3f0cad commit 1e65b7b

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

java/src/org/openqa/selenium/ie/InternetExplorerDriver.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ public class InternetExplorerDriver extends RemoteWebDriver {
3333
/** Capability that defines whether to ignore the browser zoom level or not. */
3434
public static final String IGNORE_ZOOM_SETTING = "ignoreZoomSetting";
3535

36-
/**
37-
* Capability that defines to use whether to use native or javascript events during operations.
38-
*
39-
* @deprecated Non W3C compliant
40-
*/
41-
@Deprecated public static final String NATIVE_EVENTS = "nativeEvents";
42-
4336
/** Capability that defines the initial URL to be used when IE is launched. */
4437
public static final String INITIAL_BROWSER_URL = "initialBrowserUrl";
4538

java/src/org/openqa/selenium/ie/InternetExplorerOptions.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import static org.openqa.selenium.ie.InternetExplorerDriver.IGNORE_ZOOM_SETTING;
2929
import static org.openqa.selenium.ie.InternetExplorerDriver.INITIAL_BROWSER_URL;
3030
import static org.openqa.selenium.ie.InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS;
31-
import static org.openqa.selenium.ie.InternetExplorerDriver.NATIVE_EVENTS;
3231
import static org.openqa.selenium.ie.InternetExplorerDriver.REQUIRE_WINDOW_FOCUS;
3332
import static org.openqa.selenium.remote.Browser.IE;
3433
import static org.openqa.selenium.remote.CapabilityType.BROWSER_NAME;
@@ -85,7 +84,6 @@ public class InternetExplorerOptions extends AbstractDriverOptions<InternetExplo
8584
INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS,
8685
REQUIRE_WINDOW_FOCUS,
8786
UPLOAD_DIALOG_TIMEOUT,
88-
NATIVE_EVENTS,
8987
LEGACY_FILE_UPLOAD_DIALOG_HANDLING,
9088
ATTACH_TO_EDGE_CHROME,
9189
EDGE_EXECUTABLE_PATH,
@@ -202,16 +200,6 @@ public InternetExplorerOptions introduceFlakinessByIgnoringSecurityDomains() {
202200
return amend(INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);
203201
}
204202

205-
/**
206-
* Method that defines to use whether to use native or javascript events during operations.
207-
*
208-
* @deprecated Non W3C compliant
209-
*/
210-
@Deprecated
211-
public InternetExplorerOptions disableNativeEvents() {
212-
return amend(NATIVE_EVENTS, false);
213-
}
214-
215203
public InternetExplorerOptions ignoreZoomSettings() {
216204
return amend(IGNORE_ZOOM_SETTING, true);
217205
}

java/test/org/openqa/selenium/testing/drivers/Browser.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ public Capabilities getCapabilities() {
115115
public Capabilities getCapabilities() {
116116
InternetExplorerOptions options = new InternetExplorerOptions();
117117

118-
if (Boolean.getBoolean("selenium.ie.disable_native_events")) {
119-
options.disableNativeEvents();
120-
}
121118
if (Boolean.getBoolean("selenium.ie.require_window_focus")) {
122119
options.requireWindowFocus();
123120
}

0 commit comments

Comments
 (0)