Robotframework-MobileWright
Robot Framework library for MobileWright — mobile test automation for iOS and Android.
Wraps the mobilecli HTTP JSON-RPC server so you can drive iOS / Android devices from .robot files.
Compatibility
| Version | |
|---|---|
| Mobilewright (RF lib) | 0.1.0 |
mobilecli server |
>= v0.3.69 |
| Python | >= 3.9 |
| Robot Framework | >= 6.0 |
The library follows its own SemVer cycle, independent of the upstream mobilecli version. Each release is tested against the version above.
Setup
You need a running mobilecli server (it talks to the device via ADB or iOS instruments):
npm install -g mobilecli
mobilecli server start --listen localhost:12000 --cors -d
Install
pip install robotframework-mobilewright
Quick start
*** Settings ***
Library Mobilewright server_url=ws://localhost:12000/ws
Suite Setup Connect To Device
Suite Teardown Close All Connections
*** Test Cases ***
Login
Launch App com.example.myapp
Fill Element testid=username admin@test.com
Fill Element testid=password secret
Tap Element label=Submit
Wait Until Element Is Visible text=Welcome timeout=10s
Locator syntax
| Strategy | Example |
|---|---|
label= |
label=Submit |
testid= |
testid=login-btn |
text= |
text=Hello World |
type= |
type=UIButton |
role= |
role=button |
placeholder= |
placeholder=Search |
Chain with >>: type=ListView >> text=Item 1
Index selector: index=first (default) / index=last / index=N
Docs
Full keyword reference: docs/Mobilewright.html
Generate locally:
python -m robot.libdoc Mobilewright docs/Mobilewright.html
License
Apache 2.0
Metadata
Release files for robotframework-mobilewright 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework_mobilewright-0.1.0.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_mobilewright-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.1 kB
Release files / robotframework_mobilewright-0.1.0.tar.gz
| Download URL | robotframework_mobilewright-0.1.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53012036812342787f9e2082de000210c04363e96c210d1d65efb8b0b5eb5152
|
|
BLAKE2b-256 checksum How to use checksums |
03d41361b8dda692672afc71c8b58d5515f15abcfa793123927d46c752fa91fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2026.
Transparency logRelease files / robotframework_mobilewright-0.1.0-py3-none-any.whl
| Download URL | robotframework_mobilewright-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e6d0c294efc98f06b2c80456c602896d2ceb114727acd3ed5e3ea26592929a8
|
|
BLAKE2b-256 checksum How to use checksums |
3d7ea2b3719c71a289061d3ca02df500761c386aefb84ec7a00147006725f9d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 5, 2026.
Transparency log