In runwda,
UsbmuxTcpForwarder(service_provider.udid, dst_port, src_port)
should be
UsbmuxTcpForwarder(service_provider.udid, src_port, dst_port)
Based on the cmd doc:
@click.option("--src-port", default=8100, help="WebDriverAgent listen port")
@click.option("--dst-port", default=8100, help="local listen port")
When i run
t3 runwda --bundle-id xxx --src-port 8100 --dst-port 50002
i expect the traffic from my local mac machine at 50002 to be forwarded to the connected mobile device.
But it starts listening to 8100 on my mac.
In runwda, UsbmuxTcpForwarder(service_provider.udid, dst_port, src_port) should be UsbmuxTcpForwarder(service_provider.udid, src_port, dst_port)
Based on the cmd doc: @click.option("--src-port", default=8100, help="WebDriverAgent listen port") @click.option("--dst-port", default=8100, help="local listen port")
When i run t3 runwda --bundle-id xxx --src-port 8100 --dst-port 50002 i expect the traffic from my local mac machine at 50002 to be forwarded to the connected mobile device. But it starts listening to 8100 on my mac.