IDB uses 10882 not the port for the app agent

This commit is contained in:
redth 2022-09-07 19:56:39 -04:00
Родитель 7f2a2f56d7
Коммит ab745b7721
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -39,7 +39,7 @@ public class iOSDriver : IDriver
idbCompanionProcess = new ProcessRunner(idbCompanionPath, $"--udid {configuration.Device}"); idbCompanionProcess = new ProcessRunner(idbCompanionPath, $"--udid {configuration.Device}");
var channel = GrpcChannel.ForAddress($"http://{address}:{port}"); var channel = GrpcChannel.ForAddress($"http://{address}:10882");
idb = new Idb.CompanionService.CompanionServiceClient(channel); idb = new Idb.CompanionService.CompanionServiceClient(channel);
var connectResponse = idb.connect(new Idb.ConnectRequest()); var connectResponse = idb.connect(new Idb.ConnectRequest());