From 6a42e8146b42fe28ea1ae2ae73c2a564feeab620 Mon Sep 17 00:00:00 2001 From: Corey Goldberg <1113081+cgoldberg@users.noreply.github.com> Date: Tue, 9 Sep 2025 08:59:41 -0400 Subject: [PATCH] [dotnet] Fix link to exception documentation in test --- dotnet/test/common/RelativeLocatorTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/test/common/RelativeLocatorTest.cs b/dotnet/test/common/RelativeLocatorTest.cs index 4effd89183c4b..8ab42ad93e37c 100644 --- a/dotnet/test/common/RelativeLocatorTest.cs +++ b/dotnet/test/common/RelativeLocatorTest.cs @@ -224,7 +224,7 @@ public void NearLocatorShouldNotFindFarElements() { var rect2 = driver.FindElement(RelativeBy.WithLocator(By.Id("rect4")).Near(rect)); - }, Throws.TypeOf().With.Message.EqualTo("Unable to find element; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception")); + }, Throws.TypeOf().With.Message.EqualTo("Unable to find element; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#nosuchelementexception")); } //------------------------------------------------------------------