Skip to content

Commit 1ad7ebb

Browse files
authored
Update config for iOS in README.
1 parent bac4fb0 commit 1ad7ebb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ Official Nightwatch helper-tool to easily setup all the requirements needed to g
134134
desiredCapabilities: {
135135
browserName: 'safari',
136136
platformName: 'iOS',
137-
// add the device UDID to run tests on (necessary)
138-
// Run command: `xcrun simctl list devices`
137+
// add udid of the device to run tests on (necessary)
138+
// Run command: `xcrun xctrace list devices`
139139
// 'safari:deviceUDID': '00008030-00024C2C3453402E',
140140
},
141141

@@ -153,8 +153,8 @@ Official Nightwatch helper-tool to easily setup all the requirements needed to g
153153
browserName: 'safari',
154154
platformName: 'iOS',
155155
'safari:useSimulator': true,
156-
// change the deviceName, platformVersion accordingly to run tests on
157-
// Run command: `xcrun simctl list devices`
156+
// To find the available deviceName/platformName to run tests on,
157+
// run command: `xcrun simctl list devices`
158158
// 'safari:platformVersion': '15.0',
159159
'safari:deviceName': 'iPhone 13'
160160
},
@@ -195,7 +195,7 @@ Official Nightwatch helper-tool to easily setup all the requirements needed to g
195195
npx nightwatch --env ios.simulator.safari
196196
197197
# for real device
198-
npx nightwatch --env ios.real.safari --udid <YOUR-DEVICE-UDID>
198+
npx nightwatch --env ios.real.safari --deviceId <YOUR-DEVICE-UDID>
199199
# for real device (if updated the config in the previous step)
200200
npx nightwatch --env ios.real.safari
201201
```

0 commit comments

Comments
 (0)