All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.thucydides.core.webdriver.DeactivatedCloseBrowser Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
package net.thucydides.core.webdriver;

import net.serenitybdd.core.webdriver.configuration.RestartBrowserForEach;
import org.openqa.selenium.WebDriver;

public class DeactivatedCloseBrowser implements CloseBrowser {
    @Override
    public void closeIfConfiguredForANew(RestartBrowserForEach event) {}

    @Override
    public void closeWhenTheTestsAreFinished(WebDriver driver) {}

    @Override
    public CloseBrowser forTestSuite(Class testSuite) {
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy