From 220fcaa1e397cd958387448d4f6ba51a244795b6 Mon Sep 17 00:00:00 2001 From: leestana01 Date: Fri, 5 Jun 2026 18:41:23 +0900 Subject: [PATCH 1/2] Fix broken links to Selenium documentation The links to docs.seleniumhq.org no longer resolve, since the host was retired. This commit changes those links to use the current Selenium documentation at selenium.dev. Closes gh-36875 Signed-off-by: leestana01 --- .../ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc b/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc index cc4c45c0039..91b6bd6fc4c 100644 --- a/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc +++ b/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc @@ -3,7 +3,7 @@ In the previous sections, we have seen how to use MockMvc in conjunction with the raw HtmlUnit APIs. In this section, we use additional abstractions within the Selenium -https://docs.seleniumhq.org/projects/webdriver/[WebDriver] to make things even easier. +https://www.selenium.dev/documentation/webdriver/[WebDriver] to make things even easier. [[mockmvc-server-htmlunit-webdriver-why]] == Why WebDriver and MockMvc? @@ -12,7 +12,7 @@ We can already use HtmlUnit and MockMvc, so why would we want to use WebDriver? Selenium WebDriver provides a very elegant API that lets us easily organize our code. To better show how it works, we explore an example in this section. -NOTE: Despite being a part of https://docs.seleniumhq.org/[Selenium], WebDriver does not +NOTE: Despite being a part of https://www.selenium.dev/documentation/[Selenium], WebDriver does not require a Selenium Server to run your tests. Suppose we need to ensure that a message is created properly. The tests involve finding From b4a378186fd9300f24f8472dbf342ac88a44259d Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Fri, 5 Jun 2026 14:56:51 +0200 Subject: [PATCH 2/2] Fix additional links to Selenium documentation See gh-36875 --- .../ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc b/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc index 91b6bd6fc4c..69d76651060 100644 --- a/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc +++ b/framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc @@ -12,8 +12,8 @@ We can already use HtmlUnit and MockMvc, so why would we want to use WebDriver? Selenium WebDriver provides a very elegant API that lets us easily organize our code. To better show how it works, we explore an example in this section. -NOTE: Despite being a part of https://www.selenium.dev/documentation/[Selenium], WebDriver does not -require a Selenium Server to run your tests. +NOTE: Despite being a part of https://www.selenium.dev/documentation/[Selenium], +WebDriver does not require a Selenium Server to run your tests. Suppose we need to ensure that a message is created properly. The tests involve finding the HTML form input elements, filling them out, and making various assertions. @@ -308,7 +308,7 @@ interested. These are of type `WebElement`. WebDriver's https://github.com/SeleniumHQ/selenium/wiki/PageFactory[`PageFactory`] lets us remove a lot of code from the HtmlUnit version of `CreateMessagePage` by automatically resolving each `WebElement`. The -https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/support/PageFactory.html#initElements-org.openqa.selenium.WebDriver-java.lang.Class-[`PageFactory#initElements(WebDriver,Class)`] +https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/PageFactory.html#initElements-org.openqa.selenium.WebDriver-java.lang.Class-[`PageFactory#initElements(WebDriver,Class)`] method automatically resolves each `WebElement` by using the field name and looking it up by the `id` or `name` of the element within the HTML page. <3> We can use the @@ -352,7 +352,7 @@ interested. These are of type `WebElement`. WebDriver's https://github.com/SeleniumHQ/selenium/wiki/PageFactory[`PageFactory`] lets us remove a lot of code from the HtmlUnit version of `CreateMessagePage` by automatically resolving each `WebElement`. The -https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/support/PageFactory.html#initElements-org.openqa.selenium.WebDriver-java.lang.Class-[`PageFactory#initElements(WebDriver,Class)`] +https://www.selenium.dev/selenium/docs/api/java/org/openqa/selenium/support/PageFactory.html#initElements-org.openqa.selenium.WebDriver-java.lang.Class-[`PageFactory#initElements(WebDriver,Class)`] method automatically resolves each `WebElement` by using the field name and looking it up by the `id` or `name` of the element within the HTML page. <3> We can use the