Skip to content

feat(locator): add locator aliases and exists API#103

Merged
gmegidish merged 2 commits into
mobile-next:mainfrom
Sourav-co:feat/locator-visibility-support
May 11, 2026
Merged

feat(locator): add locator aliases and exists API#103
gmegidish merged 2 commits into
mobile-next:mainfrom
Sourav-co:feat/locator-visibility-support

Conversation

@Sourav-co
Copy link
Copy Markdown
Contributor

This PR adds two small but useful Locator APIs to improve developer experience

Added APIs
locator.click()

Playwright-style alias for:

locator.tap()

Example:

await locator.click()
locator.exists()

Notes:
No breaking changes
Existing APIs remain untouched
click() internally uses the existing tap() implementation
exists() uses the existing locator resolution flow

@gmegidish gmegidish merged commit f66512a into mobile-next:main May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants