Available features in Mobilewright today
mainMobilewright currently supports end-to-end mobile testing with the following capabilities:
- Platform Support: Android and iOS via configuration.
- Test Framework: Support for test lifecycle hooks (
test.beforeEach(),test.describe.serial()), skipping tests (test.skip()), and grouping actions (test.step()). - Locators & Assertions: A robust Locator API (
getByText(),getByRole(), etc.) with corresponding assertions (toBeVisible(),toHaveText(), etc.) and value assertions (toBe(),toEqual()). - Interactions: Touch interactions (
tap(),longPress(),fill()), screen actions (swipe(),pressButton(),screenshot()), and WebView support. - App & Device Control: App lifecycle management (
launchApp(),installApp()), device controls (setOrientation(),setGeolocation()), and video recording attached to HTML reports. - Execution & Reporting: Parallel workers, sharding, and multiple reporter types (
list,html,json,blob). - Tooling: A CLI for testing, inspecting, and managing devices, plus an Inspector for browsing the live view hierarchy.