Skip to content

Commit 6ea6e22

Browse files
committed
add devices to readme
1 parent 44c6fdb commit 6ea6e22

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,33 @@ You can specify which version of Maestro to use (ALPHA feature):
239239
app-file: app.apk
240240
maestro-version: 1.39.0
241241
```
242+
243+
# Specifying Device Models
244+
245+
You can target specific device models for your tests using the `android-device` or `ios-device` parameters.
246+
247+
See a full list of available device models [here](https://docs.devicecloud.dev/getting-started/devices-configuration).
248+
249+
## Android Device
250+
251+
Specify an Android device model to run your tests on:
252+
253+
```yaml
254+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
255+
with:
256+
api-key: ${{ secrets.DCD_API_KEY }}
257+
app-file: app.apk
258+
android-device: pixel-6
259+
```
260+
261+
## iOS Device
262+
263+
Specify an iOS device model to run your tests on:
264+
265+
```yaml
266+
- uses: devicecloud-dev/device-cloud-for-maestro@v1
267+
with:
268+
api-key: ${{ secrets.DCD_API_KEY }}
269+
app-file: app.zip
270+
ios-device: iphone-14
271+
```

0 commit comments

Comments
 (0)