Accessible webdriver test execution listener for testng: @TestExecutionListeners({WebDriverTestExecutionListener.class})

Access WebDriverScope.NAME outside package to be used by user webdriver implementations. Needs matching name to be picked up by autoconfiguration.

@Bean(name = WebDriverScope.NAME)
public WebDriver customWebDriver() {...

See https://github.com/spring-projects/spring-boot/issues/27921

Comment From: cdalexndr

Should I add javadoc @since when the feature was originally created, or current version when I made them public?

Comment From: wilkinsona

When they were made public, please.

Comment From: wilkinsona

@cdalexndr Thanks for the pull request. Unfortunately, we can't merge this until we understand why it's needed so that we can justify increasing the surface area of our public API. As @philwebb requested, can you please provide a sample for #27921?

Comment From: wilkinsona

We have a sample so I don't think we're waiting for feedback.

Comment From: wilkinsona

We made changes in the past – such as these – in support of TestNG. 3.0 gives us an opportunity to decide if supporting TestNG is something with which we want to continue.