1
1
/*
2
- * Copyright 2019-2020 the original author or authors.
2
+ * Copyright 2019-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -189,23 +189,6 @@ void testGetSafariWebDriver()
189
189
}
190
190
}
191
191
192
- @ Test
193
- void testGetEdgeWebDriver ()
194
- {
195
- DesiredCapabilities desiredCapabilities = new DesiredCapabilities ();
196
- EdgeOptions edgeOptions = new EdgeOptions ();
197
- edgeOptions .merge (desiredCapabilities );
198
- edgeOptions .setCapability ("ms:inPrivate" , true );
199
- try (MockedConstruction <EdgeDriver > edgeDriverMock = mockConstruction (EdgeDriver .class , (mock , context ) -> {
200
- assertEquals (1 , context .getCount ());
201
- assertEquals (List .of (edgeOptions ), context .arguments ());
202
- }))
203
- {
204
- WebDriver actual = WebDriverType .EDGE .getWebDriver (desiredCapabilities , new WebDriverConfiguration ());
205
- assertEquals (edgeDriverMock .constructed ().get (0 ), actual );
206
- }
207
- }
208
-
209
192
@ Test
210
193
void testGetEdgeChromiumWebDriver ()
211
194
{
@@ -263,7 +246,6 @@ private static void testGetOperaWebDriver(WebDriverConfiguration configuration,
263
246
"IEXPLORE, false" ,
264
247
"CHROME, true" ,
265
248
"SAFARI, false" ,
266
- "EDGE, false" ,
267
249
"EDGE_CHROMIUM, false" ,
268
250
"OPERA, true"
269
251
})
@@ -278,7 +260,6 @@ void testIsBinaryPathSupported(WebDriverType type, boolean binaryPathSupported)
278
260
"IEXPLORE, true" ,
279
261
"CHROME, true" ,
280
262
"SAFARI, false" ,
281
- "EDGE, false" ,
282
263
"EDGE_CHROMIUM, false" ,
283
264
"OPERA, true"
284
265
})
@@ -293,7 +274,6 @@ void testIsCommandLineArgumentsSupported(WebDriverType type, boolean commandLine
293
274
"IEXPLORE, true" ,
294
275
"CHROME, false" ,
295
276
"SAFARI, false" ,
296
- "EDGE, false" ,
297
277
"EDGE_CHROMIUM, false" ,
298
278
"OPERA, false"
299
279
})
@@ -308,7 +288,6 @@ void testIsUseW3C(WebDriverType type, boolean useW3C)
308
288
"IEXPLORE, false" ,
309
289
"CHROME, false" ,
310
290
"SAFARI, false" ,
311
- "EDGE, true" ,
312
291
"EDGE_CHROMIUM, true" ,
313
292
"OPERA, false"
314
293
})
@@ -322,7 +301,6 @@ void testGetDriverSpecificCapabilities(WebDriverType type, boolean empty)
322
301
"FIREFOX, webdriver.gecko.driver" ,
323
302
"IEXPLORE, webdriver.ie.driver" ,
324
303
"CHROME, webdriver.chrome.driver" ,
325
- "EDGE, webdriver.edge.driver" ,
326
304
"EDGE_CHROMIUM, webdriver.edge.driver" ,
327
305
"OPERA, webdriver.opera.driver"
328
306
})
@@ -369,12 +347,6 @@ void testSetOperaDriverExecutablePathViaAutomaticManager()
369
347
testSetDriverExecutablePathViaAutomaticManager (WebDriverType .OPERA , WebDriverManager ::operadriver );
370
348
}
371
349
372
- @ Test
373
- void testSetEdgeDriverExecutablePathViaAutomaticManager ()
374
- {
375
- testSetDriverExecutablePathViaAutomaticManager (WebDriverType .EDGE , WebDriverManager ::edgedriver );
376
- }
377
-
378
350
private static void testSetDriverExecutablePathViaAutomaticManager (WebDriverType type ,
379
351
Supplier <WebDriverManager > managerSupplier )
380
352
{
0 commit comments