electricbubble / gidevice-cli

gidevice cli ( like `libimobiledevice` )
MIT License
56 stars 12 forks source link

Change port in wda with cli is not working #8

Closed krishtoautomate closed 3 years ago

krishtoautomate commented 3 years ago

below command is not changing the port and still selecting default port 8100

gidevice -u $UDID xctest com.facebook.WebDriverAgentRunner.xctrunner —port 8200 —mjpeg-server-port 9200

electricbubble commented 3 years ago

v0.4.3

gidevice xctest com.facebook.WebDriverAgentRunner.xctrunner --env=USE_PORT=8200 --env=MJPEG_SERVER_PORT=9200
krishtoautomate commented 3 years ago

works. Thank you so much.

gidevice -u $UDID xctest com.facebook.WebDriverAgentRunner.xctrunner -c "ServerURLHere" -e USE_PORT=8200