This commit upgrades to a major new release of HtmlUnit. This is a
breaking change as HtmlUnit 3 moves to a `org.htmlunit` package and
calling code needs to be restructured.
Our use of Selenium has been adapted accordingly, moving to Selenium
3, using the new org.seleniumhq.selenium:htmlunit3-driver integration.
Closes gh-30392
@ -166,7 +166,7 @@ following sections to make this pattern much easier to implement.
@@ -166,7 +166,7 @@ following sections to make this pattern much easier to implement.
== MockMvc and WebDriver Setup
To use Selenium WebDriver with the Spring MVC Test framework, make sure that your project
includes a test dependency on `org.seleniumhq.selenium:selenium-htmlunit-driver`.
includes a test dependency on `org.seleniumhq.selenium:selenium-htmlunit3-driver`.
We can easily create a Selenium WebDriver that integrates with MockMvc by using the
`MockMvcHtmlUnitDriverBuilder` as the following example shows:
@ -181,7 +181,7 @@ public final class MockMvcWebConnection implements WebConnection {
@@ -181,7 +181,7 @@ public final class MockMvcWebConnection implements WebConnection {
@ -195,7 +195,7 @@ public final class MockMvcWebConnection implements WebConnection {
@@ -195,7 +195,7 @@ public final class MockMvcWebConnection implements WebConnection {