Skip to content

Commit 60bc94e

Browse files
cdalexndrsnicoll
authored andcommitted
Clarify Selenium auto-configuration requires HtmlUnit
The auto-configuration requires `HtmlUnit`, so this auto-cofiguration only works if both Selenium and HtmlUnit are used. Prevents misinterpretation that WebDriver can be auto configured without htmlunit. See gh-27920
1 parent 29a2321 commit 60bc94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7464,7 +7464,7 @@ The following example uses `MockMvc`:
74647464

74657465
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.
74667466

7467-
If you use HtmlUnit or Selenium, auto-configuration also provides an HtmlUnit `WebClient` bean and/or a Selenium `WebDriver` bean.
7467+
If you use HtmlUnit and Selenium, auto-configuration also provides an HtmlUnit `WebClient` bean and/or a Selenium `WebDriver` bean.
74687468
The following example uses HtmlUnit:
74697469

74707470
[source,java,indent=0]

0 commit comments

Comments
 (0)