File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
java/client/src/org/openqa/selenium/chrome Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -233,18 +233,7 @@ public JsonElement toJson() throws IOException {
233
233
*/
234
234
DesiredCapabilities toCapabilities () {
235
235
DesiredCapabilities capabilities = DesiredCapabilities .chrome ();
236
-
237
236
capabilities .setCapability (CAPABILITY , this );
238
-
239
- // chromeOptions is only recognized by chromedriver 17.0.963.0 or newer.
240
- // Provide backwards compatibility for capabilities supported by older
241
- // versions of chromedriver.
242
- // TODO: remove this once the deprecated capabilities are no longer supported.
243
- capabilities .setCapability ("chrome.switches" , args );
244
- if (binary != null ) {
245
- capabilities .setCapability ("chrome.binary" , binary );
246
- }
247
-
248
237
return capabilities ;
249
238
}
250
239
You can’t perform that action at this time.
0 commit comments