Scaffold a Mobilewright test project in seconds.
npm init mobilewrightAlso works with Yarn (yarn create mobilewright) and pnpm (pnpm create mobilewright).
The CLI walks you through setup and creates a ready-to-run project:
my-project/
mobilewright.config.ts # Device and app configuration
tests/
example.spec.ts # A working test you can run immediately
package.json
cd my-project
npx mobilewright testThat's it.
If this is the first time you are running a test on iOS (simulator or real device), you will need to run npx mobilewright install to set up the agent on the device.
If something's missing, npx mobilewright doctor tells you exactly what to fix.
- Mobilewright docs — API reference and guides
- mobile-use.com — Run tests on real devices in the cloud
Apache
