Make WebDriverAgent more powerful.
Limited in Mac
- Launch iproxy when start
- Create http proxy for WDA server
- add udid into
GET /status
- forward all url starts with
/origin/<url>
to/<url>
- Add the missing Index page
- Support Package management API
- Support launch WDA
$ brew install openatx/tap/wdaproxy
Simple run
$ wdaproxy -p 8100 -u $UDID
Run with WDA
$ wdaproxy -W ../WebDriverAgent
For more run wdaproxy -h
Package install
$ curl -X POST -F file=@some.ipa http://localhost:8100/api/v1/packages
$ curl -X POST -F url="http://somehost.com/some.ipa" http://localhost:8100/api/v1/packages
Package uninstall
$ curl -X DELETE http://localhost:8100/api/v1/packages/${BUNDLE_ID}
Package list (parse from ideviceinstaller -l
)
$ curl -X GET http://localhost:8100/api/v1/packages
Under MIT