Skip to content

Commit 3526743

Browse files
committed
Making .NET InvalidSelectorException a subclass of NoSuchElementException
1 parent 1af8e2d commit 3526743

File tree

2 files changed

+92
-101
lines changed

2 files changed

+92
-101
lines changed

dotnet/src/webdriver/InvalidSelectorException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace OpenQA.Selenium
2727
/// The exception that is thrown when an element is not visible.
2828
/// </summary>
2929
[Serializable]
30-
public class InvalidSelectorException : WebDriverException
30+
public class InvalidSelectorException : NoSuchElementException
3131
{
3232
/// <summary>
3333
/// Initializes a new instance of the <see cref="InvalidSelectorException"/> class.

0 commit comments

Comments
 (0)