[dotnet] Remove obsoleted members/types for 4.30 #15342
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Remove obsoleted members/types aimed for v4.30
Motivation and Context
Clean old code.
Types of changes
Checklist
PR Type
Enhancement, Bug fix
Description
Removed obsolete exception classes
ElementNotSelectableException
andElementNotVisibleException
.Updated
IWebElement
andWebElement
interfaces to remove references to obsolete exceptions.Refactored
Response
class to remove deprecated constructors and properties, making it immutable.Cleaned up
WebDriverResult
enum by removing obsolete error codes.Changes walkthrough 📝
ElementNotSelectableException.cs
Removed `ElementNotSelectableException` class.
dotnet/src/webdriver/ElementNotSelectableException.cs
ElementNotSelectableException
class.ElementNotVisibleException.cs
Removed `ElementNotVisibleException` class.
dotnet/src/webdriver/ElementNotVisibleException.cs
ElementNotVisibleException
class.IWebElement.cs
Updated `IWebElement` interface to remove obsolete exceptions.
dotnet/src/webdriver/IWebElement.cs
ElementNotVisibleException
in methoddocumentation.
Response.cs
Refactored `Response` class to remove deprecated features.
dotnet/src/webdriver/Response.cs
Response
class immutable by usinginit
properties.WebDriver.cs
Updated `WebDriver` exception handling logic.
dotnet/src/webdriver/WebDriver.cs
ElementNotVisibleException
andElementNotSelectableException
.WebDriverResult.cs
Cleaned up `WebDriverResult` enum by removing obsolete codes.
dotnet/src/webdriver/WebDriverResult.cs
WebDriverResult
enum.WebElement.cs
Updated `WebElement` class to remove obsolete exceptions.
dotnet/src/webdriver/WebElement.cs
ElementNotVisibleException
in methoddocumentation.