Feature Request - Assertions and other operations required in Recorder
bawarim opened this issue · 2 comments
Current Behavior
When we use the recorder in appium inspector then currently it supports the operation like Tap, Send keys, Clear.
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
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).
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.