Skip to content

Commit 5c4497a

Browse files
committed
Fix additional links to Selenium documentation
See gh-36875 (cherry picked from commit b4a3781)
1 parent 0fadafa commit 5c4497a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit

framework-docs/modules/ROOT/pages/testing/mockmvc/htmlunit/webdriver.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ We can already use HtmlUnit and MockMvc, so why would we want to use WebDriver?
1212
Selenium WebDriver provides a very elegant API that lets us easily organize our code. To
1313
better show how it works, we explore an example in this section.
1414

15-
NOTE: Despite being a part of https://www.selenium.dev/documentation/[Selenium], WebDriver does not
16-
require a Selenium Server to run your tests.
15+
NOTE: Despite being a part of https://www.selenium.dev/documentation/[Selenium],
16+
WebDriver does not require a Selenium Server to run your tests.
1717

1818
Suppose we need to ensure that a message is created properly. The tests involve finding
1919
the HTML form input elements, filling them out, and making various assertions.
@@ -308,7 +308,7 @@ interested. These are of type `WebElement`. WebDriver's
308308
https://github.com/SeleniumHQ/selenium/wiki/PageFactory[`PageFactory`] lets us remove a
309309
lot of code from the HtmlUnit version of `CreateMessagePage` by automatically resolving
310310
each `WebElement`. The
311-
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<T>)`]
311+
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<T>)`]
312312
method automatically resolves each `WebElement` by using the field name and looking it up
313313
by the `id` or `name` of the element within the HTML page.
314314
<3> We can use the
@@ -352,7 +352,7 @@ interested. These are of type `WebElement`. WebDriver's
352352
https://github.com/SeleniumHQ/selenium/wiki/PageFactory[`PageFactory`] lets us remove a
353353
lot of code from the HtmlUnit version of `CreateMessagePage` by automatically resolving
354354
each `WebElement`. The
355-
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<T>)`]
355+
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<T>)`]
356356
method automatically resolves each `WebElement` by using the field name and looking it up
357357
by the `id` or `name` of the element within the HTML page.
358358
<3> We can use the

0 commit comments

Comments
 (0)