Remove unused class from test.
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;
@@ -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();
