Merge branch '2.4.x' into 2.5.x

Closes gh-27943
This commit is contained in:
Stephane Nicoll
2021-09-12 09:02:35 +02:00

View File

@@ -388,7 +388,7 @@ include::{docs-java}/features/testing/springbootapplications/springmvctests/MyCo
TIP: If you need to configure elements of the auto-configuration (for example, when servlet filters should be applied) you can use attributes in the `@AutoConfigureMockMvc` annotation.
If you use HtmlUnit or Selenium, auto-configuration also provides an HtmlUnit `WebClient` bean and/or a Selenium `WebDriver` bean.
If you use HtmlUnit and Selenium, auto-configuration also provides an HtmlUnit `WebClient` bean and/or a Selenium `WebDriver` bean.
The following example uses HtmlUnit:
[source,java,indent=0,subs="verbatim"]