appium-webdriveragent 11.4.1 → 11.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/WebDriverAgentLib/Info.plist +2 -2
- package/WebDriverAgentLib/Routing/FBTCPSocket.h +5 -1
- package/WebDriverAgentLib/Routing/FBTCPSocket.m +17 -5
- package/WebDriverAgentLib/Routing/FBWebServer.m +34 -5
- package/WebDriverAgentLib/Utilities/FBImageProcessor.m +35 -20
- package/WebDriverAgentLib/Utilities/FBMjpegServer.h +5 -0
- package/WebDriverAgentLib/Utilities/FBMjpegServer.m +65 -10
- package/build/lib/xcodebuild.js +1 -1
- package/build/lib/xcodebuild.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/xcodebuild.ts +4 -4
- package/package.json +1 -1
package/lib/xcodebuild.ts
CHANGED
|
@@ -461,18 +461,18 @@ export class XcodeBuild {
|
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
const proxyTimeout = noSessionProxy.timeout;
|
|
464
|
-
noSessionProxy.timeout = 1000;
|
|
464
|
+
(noSessionProxy as any).timeout = 1000;
|
|
465
465
|
try {
|
|
466
466
|
currentStatus = (await noSessionProxy.command('/status', 'GET')) as StringRecord;
|
|
467
|
-
if (currentStatus
|
|
468
|
-
this.agentUrl =
|
|
467
|
+
if (currentStatus?.ios?.ip) {
|
|
468
|
+
this.agentUrl = currentStatus.ios.ip as string;
|
|
469
469
|
}
|
|
470
470
|
this.log.debug(`WebDriverAgent information:`);
|
|
471
471
|
this.log.debug(JSON.stringify(currentStatus, null, 2));
|
|
472
472
|
} catch (err: any) {
|
|
473
473
|
throw new Error(`Unable to connect to running WebDriverAgent: ${err.message}`);
|
|
474
474
|
} finally {
|
|
475
|
-
noSessionProxy.timeout = proxyTimeout;
|
|
475
|
+
(noSessionProxy as any).timeout = proxyTimeout;
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
478
|
|