[java] Deleting unused method in test base class
import org.openqa.selenium.environment.InProcessTestEnvironment;
import org.openqa.selenium.environment.TestEnvironment;
import org.openqa.selenium.environment.webserver.AppServer;
-import org.openqa.selenium.WrapsDriver;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.support.ui.Wait;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util.stream.Stream;
@RunWith(SeleniumTestRunner.class)
-public abstract class JUnit4TestBase implements WrapsDriver {
+public abstract class JUnit4TestBase {
private static final Logger logger = Logger.getLogger(JUnit4TestBase.class.getName());
@@ -226,10 +225,6 @@ public void evaluate() throws Throwable {
}
}
- public WebDriver getWrappedDriver() {
- return storedDriver.get();
- }
-
private void createDriver() {
driver = actuallyCreateDriver();
wait = new WebDriverWait(driver, 10);
