Skip to content

Commit

Permalink
Remove unused class from test.
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Mar 26, 2017
1 parent d83c612 commit 36ced7c
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import com.google.common.base.Throwables;

import org.junit.After;
import org.junit.Assume;
import org.junit.Test;
import org.mockito.Mockito;
import org.openqa.selenium.By;
Expand Down Expand Up @@ -201,21 +200,6 @@ public void canSetPreferencesAndProfileInFirefoxOptions() {
wait.until($ -> "Testing Javascript".equals(localDriver.getTitle()));
}

private static class ConnectionCapturingDriver extends FirefoxDriver {
public ExtensionConnection keptConnection;

public ConnectionCapturingDriver() {
super();
}

@Override
protected ExtensionConnection connectTo(FirefoxBinary binary, FirefoxProfile profile, String host) {
this.keptConnection = super.connectTo(binary, profile, host);

return keptConnection;
}
}

@Test
public void shouldGetMeaningfulExceptionOnBrowserDeath() throws Exception {
FirefoxDriver driver2 = new FirefoxDriver();
Expand Down

0 comments on commit 36ced7c

Please sign in to comment.