Skip to content

lukzeg/wdaproxy

 
 

Repository files navigation

wdaproxy

Powered By: GoReleaser

Make WebDriverAgent more powerful.

Platform

Limited in Mac

Features

  • 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
  • iOS device remote control

Installl

$ brew install openatx/tap/wdaproxy

Usage

Simple run

$ wdaproxy -p 8100 -u $UDID

Run with WDA

$ wdaproxy -W ../WebDriverAgent

For more run wdaproxy -h

Extended API

Package install

$ curl -X POST -F [email protected] 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

For developer

First checkout this repository

git clone https://github.com/openatx/wdaproxy $GOPATH/src/github.com/openatx/wdaproxy
cd $GOPATH/src/github.com/openatx/wdaproxy

Update golang vendor

brew install glide
glide up

Package web resources into binary

go generate ./web
go build -tags vfs

LICENSE

Under MIT

About

WebDriverAgent Proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 53.0%
  • Go 47.0%