Test shake gestures
Simulate shake gestures on BrowserStack’s real Android devices to test app functionalities.
When testing on remote devices, you might find it difficult to replicate a physical gesture, such as shaking a device to trigger specific app actions or app functionalities.
BrowserStack’s Shake Gestures feature lets you programmatically simulate the shake gesture on Android devices. You can use it to test app features that respond to shake interactions, such as opening debug menus, triggering hidden actions, undoing typing, or activating specific in-app workflows.
Supported platforms
The Shake Gestures feature is supported on the following platforms:
Platform | Supported versions |
---|---|
Android | All versions |
iOS | 16 |
Simulate a shake gesture on BrowserStack real devices
To simulate a shake gesture on Android devices:
- Log in to the App Live dashboard.
- Upload your app from the Select Source panel. For detailed steps, see Upload app.
- After your app is uploaded, click the configuration icon (⚙️) next to the file name of your app.
- Under App Configurations, enable the Shake device gesture toggle.
- Select a device and launch the session.
- On the App Live vertical toolbar, click Shake Device to simulate the shake gesture.
To simulate a shake gesture on iOS devices:
- Log in to the App Live dashboard.
- Select an app and device combination to start your test session. For detailed steps, see Launch session.
- On the App Live vertical toolbar, click iOS Settings.
- Enable the Assistive Touch toggle. For more information about using Assistive Touch, see Use Assistive Touch on BrowserStack real devices.
- On the device, click the AssistiveTouch menu button.
- In the AssistiveTouch menu, click the Shake option to simulate the gesture.
When testing on multiple devices, the Shake device control works as a single-device action. This means you can trigger the shake gesture individually on each device where the app supports shake interactions.
For more details about testing on multiple devices, see Test on multiple devices.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!