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

Feature Request - Assertions and other operations required in Recorder #1286

Open
bawarim opened this issue Jan 10, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@bawarim
Copy link

bawarim commented Jan 10, 2024

Current Behavior

When we use the recorder in appium inspector then currently it supports the operation like Tap, Send keys, Clear.
image

Currently, we do not have options for assertions like verify element text, verify element present, verify element attribute, swipe, scroll.

Suggested Solution

Can we enhance the recorder to record the assertions (verify element text, verify element present, verify element attribute ) and other operations (swipe)?

Additional Information

No response

@bawarim bawarim added the enhancement New feature or request label Jan 10, 2024
@bawarim bawarim changed the title Assertions and other operations required in Recorder Feature Request - Assertions and other operations required in Recorder Jan 10, 2024
@eglitise
Copy link
Collaborator

Swiping/scrolling is already supported in the recorder. If you use the Tap/Swipe by Coordinates interaction mode, the recorder will generate code based on W3C Actions.
Not sure how one could record assertions using normal interactions. The closest thing I can imagine is adding completely new functionality to enable this (such as in Playwright 1.40).

@jlipps
Copy link
Member

jlipps commented Jan 10, 2024

Assertions would be more of a playback feature than a record feature. I had a playback feature with basic assertions a long time ago, but this branch is defunct. Not sure if we have the ability to write and maintain an entirely new mode for the inspector right now. We can keep this feature request open though. It's essentially a feature request for "Record & Playback" and not just "Record", which we have now.

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

No branches or pull requests

3 participants