-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dotnet] [bidi] Make Locator
types as not nested
#15429
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool progress!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to see the missing locator type filled in!
User description
Motivation and Context
Contributes to #15407
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Refactored
Locator
types to non-nested classes for better extensibility.Updated
Locator
type references in test cases to new non-nested types.Simplified and clarified type definitions for
AccessibilityLocator
,CssLocator
,InnerTextLocator
, andXPathLocator
.Changes walkthrough 📝
Locator.cs
Refactored `Locator` types to non-nested classes
dotnet/src/webdriver/BiDi/Modules/BrowsingContext/Locator.cs
Locator
types to non-nested classes.Locator.Css
toCssLocator
.AccessibilityLocator
and other related type definitions.BrowsingContextTest.cs
Updated test to use new `CssLocator` type
dotnet/test/common/BiDi/BrowsingContext/BrowsingContextTest.cs
CssLocator
instead ofLocator.Css
.CombinedInputActionsTest.cs
Updated test to use new `CssLocator` type
dotnet/test/common/BiDi/Input/CombinedInputActionsTest.cs
CssLocator
instead ofLocator.Css
.SetFilesTest.cs
Updated test to use new `CssLocator` type
dotnet/test/common/BiDi/Input/SetFilesTest.cs
CssLocator
instead ofLocator.Css
.