Skip to content
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

feat: Switch the XML-related stuff to use NSXMLDocument #314

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

mykola-mokhnach
Copy link
Contributor

This simplifies the code as we don't need to use libxml2, which targets C as well as adds the native support of XPath2 syntax. I'll add a note about it to the docs later.

Unfortunately Apple does not support NSXMLDocument in iOS SDKs, so we still have to rely on libxml2 there.

Copy link
Member

@KazuCocoa KazuCocoa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@@ -95,6 +95,16 @@ - (void)testMultipleDescendantsWithXPath
XCTAssertEqualObjects([matches objectAtIndex:2].identifier, @"_XCUI:MinimizeWindow");
}

- (void)testMultipleDescendantsWithXPath2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mykola-mokhnach mykola-mokhnach merged commit 5ef3581 into appium:master Oct 13, 2024
14 checks passed
@mykola-mokhnach mykola-mokhnach deleted the xpath2 branch October 13, 2024 09:10
github-actions bot pushed a commit that referenced this pull request Oct 13, 2024
## [1.20.0](v1.19.1...v1.20.0) (2024-10-13)

### Features

* Switch the XML-related stuff to use NSXMLDocument ([#314](#314)) ([5ef3581](5ef3581))
Copy link

🎉 This PR is included in version 1.20.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants