diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverScope.java b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverScope.java index 40c3d36aaa99..7d1a6748d969 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverScope.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverScope.java @@ -36,11 +36,15 @@ * {@link WebDriverTestExecutionListener}. * * @author Phillip Webb + * @since 2.6.0 * @see WebDriverContextCustomizerFactory * @see WebDriverTestExecutionListener */ -class WebDriverScope implements Scope { +public class WebDriverScope implements Scope { + /** + * WebDriver bean scope name. + */ public static final String NAME = "webDriver"; private static final String WEB_DRIVER_CLASS = "org.openqa.selenium.WebDriver"; diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverTestExecutionListener.java b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverTestExecutionListener.java index f192bbb11820..d43a28a73eec 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverTestExecutionListener.java +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebDriverTestExecutionListener.java @@ -26,10 +26,11 @@ * {@link TestExecutionListener} to reset the {@link WebDriverScope}. * * @author Phillip Webb + * @since 2.6.0 * @see WebDriverContextCustomizerFactory * @see WebDriverScope */ -class WebDriverTestExecutionListener extends AbstractTestExecutionListener { +public class WebDriverTestExecutionListener extends AbstractTestExecutionListener { @Override public int getOrder() {