openNotifications
Pull down the notification shade on Android.
Partial support in Astra Scout
Android only. The step is not available on iOS.
The openNotifications command expands the notification shade, so a flow can check or tap a notification. It runs cmd statusbar expand-notifications on the device.
Syntax
yaml
- openNotificationsThe command takes no arguments.
Usage example
yaml
- openNotifications
- assertVisible: "New message"
- tapOn: "New message"On iOS, swipe down from the top edge instead:
yaml
- swipe:
start: 50%, 0%
end: 50%, 60%