Skip to content

Commit c1e9efa

Browse files
committed
Add constructors to IEDriver that take IEDriverOptions
So we can start to lead folks to strong typing.
1 parent 5090a0c commit c1e9efa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

+14
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ public InternetExplorerDriver() {
152152
this(null, null, DEFAULT_PORT);
153153
}
154154

155+
/**
156+
* @deprecated Use {@link InternetExplorerDriver(InternetExplorerOptions)}
157+
*/
158+
@Deprecated
155159
public InternetExplorerDriver(Capabilities capabilities) {
156160
this(null, capabilities, DEFAULT_PORT);
157161
}
@@ -170,10 +174,20 @@ public InternetExplorerDriver(InternetExplorerDriverService service) {
170174
this(service, null, DEFAULT_PORT);
171175
}
172176

177+
/**
178+
* @deprecated Use {@link InternetExplorerDriver(InternetExplorerDriverService, InternetExplorerOptions)}
179+
*/
180+
@Deprecated
173181
public InternetExplorerDriver(InternetExplorerDriverService service, Capabilities capabilities) {
174182
this(service, capabilities, DEFAULT_PORT);
175183
}
176184

185+
public InternetExplorerDriver(
186+
InternetExplorerDriverService service,
187+
InternetExplorerOptions options) {
188+
this(service, options, DEFAULT_PORT);
189+
}
190+
177191
/**
178192
* @deprecated Create an {@link InternetExplorerDriverService} and then use that to create a
179193
* {@link RemoteWebDriver#RemoteWebDriver(org.openqa.selenium.remote.CommandExecutor, Capabilities)} with a

0 commit comments

Comments
 (0)