Skip to content

Commit 247abe7

Browse files
committed
[java] Removing exceptions from accepted W3C caps
Given that we are not analysing the response payload anymore.
1 parent 9435a8a commit 247abe7

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

java/src/org/openqa/selenium/AcceptedW3CCapabilityKeys.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ public class AcceptedW3CCapabilityKeys implements Predicate<String> {
3333
"^proxy$",
3434
"^setWindowRect$",
3535
"^strictFileInteractability$",
36-
// TODO: Needs to be removed when ChromeDriver issue is resolved. Not a W3C capability
37-
// https://bugs.chromium.org/p/chromedriver/issues/detail?id=4129
38-
"^networkConnectionEnabled$",
39-
// TODO: Needs to be removed when ChromeDriver issue is resolved. Not a W3C capability
40-
// https://bugs.chromium.org/p/chromedriver/issues/detail?id=4129
41-
"^chrome$",
42-
// TODO: Needs to be removed when MSEdgeDriver issue is resolved. Not a W3C capability
43-
// https://github.com/MicrosoftEdge/EdgeWebDriver/issues/23
44-
"^msedge$",
45-
// TODO: Needs to be removed when GeckoDriver issue is resolved. Not a W3C capability
46-
// https://github.com/mozilla/geckodriver/issues/2023
47-
"^platformVersion$",
4836
"^timeouts$",
4937
"^unhandledPromptBehavior$",
5038
"^webSocketUrl$") // from webdriver-bidi

java/test/org/openqa/selenium/ie/InternetExplorerDriverTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
public class InternetExplorerDriverTest extends JUnit4TestBase {
4242

4343
@Test
44-
public void builderGeneratesDefaultChromeOptions() {
44+
public void builderGeneratesDefaultIEOptions() {
4545
WebDriver driver = InternetExplorerDriver.builder().build();
4646
driver.quit();
4747
}
4848

4949
@Test
50-
public void builderOverridesDefaultChromeOptions() {
50+
public void builderOverridesDefaultIEOptions() {
5151
InternetExplorerOptions options = new InternetExplorerOptions();
5252
options.setImplicitWaitTimeout(Duration.ofMillis(1));
5353
WebDriver driver = InternetExplorerDriver.builder().oneOf(options).build();
@@ -57,7 +57,7 @@ public void builderOverridesDefaultChromeOptions() {
5757
}
5858

5959
@Test
60-
public void builderWithClientConfigthrowsException() {
60+
public void builderWithClientConfigThrowsException() {
6161
ClientConfig clientConfig = ClientConfig.defaultConfig().readTimeout(Duration.ofMinutes(1));
6262
RemoteWebDriverBuilder builder = InternetExplorerDriver.builder().config(clientConfig);
6363

0 commit comments

Comments
 (0)