Add crosslocator library to README - #107
Merged
Merged
Conversation
I released a small, dependency-free library for a recurring pain in cross-platform
mobile testing: maintaining the same locator for Android, iOS, iPadOS and Windows.
You define a selector once per platform, and crosslocator resolves the right one
at runtime:
from crosslocator import Locator
LOGIN = Locator(
android="accessibility_id=login",
ios="accessibility_id=login",
windows='//Button[@name="Log in"]',
default="id=login",
)
LOGIN.resolve() # the right selector for the current platform
It works with pure Python (Appium) and Robot Framework (a small library exposing
`Set Current Platform` / `Resolve Locator` keywords). It can also auto-detect the
platform from the active Appium session. iPad falls back to iOS selectors, and a
shared default covers the rest.
- Install: pip install crosslocator
- Source: https://github.com/julien-becheny/crosslocator
It's an early release (v0.2). Feedback and issues are very welcome — especially on
the Robot Framework integration and the locator formats you'd like supported.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the newly released crosslocator project to the README’s “Libraries → App/Mobile” list so users can discover it alongside other mobile automation/testing libraries.
Changes:
- Added a README entry linking to
julien-becheny/crosslocatorunder the App/Mobile libraries section.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
MobyNL
approved these changes
Jul 9, 2026
Collaborator
|
Nice, I'm going to check this one out for myself too! It's merged! 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I released a small, dependency-free library for a recurring pain in cross-platform mobile testing: maintaining the same locator for Android, iOS, iPadOS and Windows.
You define a selector once per platform, and crosslocator resolves the right one at runtime:
It works with pure Python (Appium) and Robot Framework (a small library exposing
Set Current Platform/Resolve Locatorkeywords). It can also auto-detect the platform from the active Appium session. iPad falls back to iOS selectors, and a shared default covers the rest.It's an early release (v0.2). Feedback and issues are very welcome — especially on the Robot Framework integration and the locator formats you'd like supported.