-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update doc #91
update doc #91
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,35 @@ | ||||||||||
# iOS device launch via run-wda.sh | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
This script is designed to set up and run WebDriverAgent on an iOS device using `idb` and `pymobiledevice3`. It also sets up port forwarding for interacting with the device via `stf`. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
## Requirements | ||||||||||
|
||||||||||
- Installed `git` | ||||||||||
- Installed `idb` | ||||||||||
- Installed `pymobiledevice3` | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
- Installed `xcodebuild` | ||||||||||
- Installed `stf` | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
- Access to MongoDB which used by stf | ||||||||||
Note: You need to create you own provisioning profile in XCode | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
## Usage | ||||||||||
|
||||||||||
```bash | ||||||||||
./run-wda.sh | ||||||||||
``` | ||||||||||
or | ||||||||||
|
||||||||||
```bash | ||||||||||
./run-wda.sh [deviceId] [deviceNum] | ||||||||||
``` | ||||||||||
|
||||||||||
## Determine the device identifier: | ||||||||||
|
||||||||||
If deviceId is not specified, the script attempts to determine the first connected iOS device using idb list-targets. | ||||||||||
|
||||||||||
## Determine the device name: | ||||||||||
|
||||||||||
The device name is determined using idb list-targets. | ||||||||||
|
||||||||||
## Port forwarding: | ||||||||||
|
||||||||||
pymobiledevice3 is used to forward ports 9100 and 8100 (or their variations depending on deviceNum) to the device. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.