-
Notifications
You must be signed in to change notification settings - Fork 188
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
refactor!: Update to work with Selenium 4 (with element factory) #469
refactor!: Update to work with Selenium 4 (with element factory) #469
Conversation
Add 'App' as a known capablity Transition from AddAdditionalCapability to AddAdditionalOption
Update tests to leverage configuration DeviceName and AddAdditionalAppiumOption
|
||
public new IReadOnlyCollection<W> FindElements(string selector, string value) => | ||
ConvertToExtendedWebElementCollection<W>(base.FindElements(selector, value)); | ||
|
||
public new W FindElementByClassName(string className) => | ||
(W) base.FindElement(MobileSelector.ClassName, className); | ||
public W FindElementByClassName(string className) => |
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.
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.
TBH I would love for all these helpers to go away, but I am guessing I am in the minority
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.
Please feel free to remove them. They're inherited
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.
@akinsolb, they are no longer inherited and simply pulling them will break a lot of tests.
I think we should look at this more holistically but in a sperate PR.
AKA would like to get what we have released as a Alpha or Beta today if possible.
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.
we are anyway doing a major release, so it's fine to do such breaking change
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.
LGTM, but please sync the updates with java client first. I'd like all contributors to be on track with the recent changes and features as well as removals and deprecations.
Also, it looks like tests need some love. |
As discussed earlier , merging this into a release branch today |
Change list
Transition off Remote elements and drivers
Stop using capabilities, instead leverage the base DriverOptions functionality
Transition from AddAdditionalCapability to AddAdditionalOption
Add 'App' as a known capability
Tag driver options so they are W3C compliant
Transition from CommandInfo to HttpCommandInfo
Types of changes
What types of changes are you proposing/introducing to .NET client?
Put an
x
in the boxes that applyDocumentation
This can be done by navigating to the documentation section on http://appium.io selecting the appropriate command/endpoint and clicking the 'Edit this doc' link to update the C# example
Integration tests
Details
Update to work with Selenium 4/to be W3C compliant