Skip to content

Commit

Permalink
Drop support for ancient geckodriver versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Jul 10, 2018
1 parent 52a2f6a commit 3ffb8eb
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 233 deletions.
1 change: 0 additions & 1 deletion java/client/src/org/openqa/selenium/remote/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ java_library(name = 'remote-lib',
'ErrorHandler.java',
'ExecuteMethod.java',
'FileDetector.java',
'Gecko013ProtocolResponse.java',
'HandshakeResponse.java',
'HttpCommandExecutor.java',
'InitialHandshakeResponse.java',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,10 @@ public void writeTo(Appendable appendable) throws IOException {
json.name("desiredCapabilities");
json.write(ossFirst);

// And write the first capability for gecko13
// Now for the w3c capabilities
json.name("capabilities");
json.beginObject();

json.name("desiredCapabilities");
json.write(first);

// Then write everything into the w3c payload. Because of the way we do this, it's easiest
// to just populate the "firstMatch" section. The spec says it's fine to omit the
// "alwaysMatch" field, so we do this.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ private Optional<Result> createSession(HttpClient client, InputStream newSession

return Stream.of(
new JsonWireProtocolResponse().getResponseFunction(),
new Gecko013ProtocolResponse().getResponseFunction(),
new W3CHandshakeResponse().getResponseFunction())
.map(func -> func.apply(initialResponse))
.filter(Optional::isPresent)
Expand Down
1 change: 0 additions & 1 deletion java/client/test/org/openqa/selenium/remote/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ java_test(name = 'client-tests',
'AugmenterTest.java',
'BaseAugmenterTest.java',
'ErrorHandlerTest.java',
'Gecko013ProtocolResponseTest.java',
'JdkAugmenterTest.java',
'JsonWireProtocolResponseTest.java',
'ProtocolHandshakeTest.java',
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
AugmenterTest.class,
ErrorHandlerTest.class,
CircularOutputStreamTest.class,
Gecko013ProtocolResponseTest.class,
JsonWireProtocolResponseTest.class,
ProtocolHandshakeTest.class,
RemoteLogsTest.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public void ifARemoteUrlIsGivenThatIsUsedForTheSession() throws MalformedURLExce
}

static class FakeDriverService extends DriverService {
public FakeDriverService() throws IOException {
FakeDriverService() throws IOException {
super(new File("."), 0, null, null);
}
}
Expand Down

0 comments on commit 3ffb8eb

Please sign in to comment.