MCPcopy Index your code
hub / github.com/appium/python-client / get_wda_port

Function get_wda_port

test/functional/test_helper.py:136–142  ·  view source on GitHub ↗

Get a unique WDA port for the current worker. Uses base port 8100 and increments by worker number.

()

Source from the content-addressed store, hash-verified

134
135
136def get_wda_port() -> int:
137 """
138 Get a unique WDA port for the current worker.
139 Uses base port 8100 and increments by worker number.
140 """
141 worker_info = get_worker_info()
142 return 8100 + (worker_info.worker_number or 0)

Callers 4

make_optionsFunction · 0.90
iphone_device_nameFunction · 0.90
make_optionsFunction · 0.90
device_nameFunction · 0.90

Calls 1

get_worker_infoFunction · 0.85

Tested by

no test coverage detected