diff --git a/WebDriverAgentLib/Routing/FBWebServer.m b/WebDriverAgentLib/Routing/FBWebServer.m index 691ce4499..af0d82b3e 100644 --- a/WebDriverAgentLib/Routing/FBWebServer.m +++ b/WebDriverAgentLib/Routing/FBWebServer.m @@ -269,6 +269,9 @@ - (void)registerServerKeyRouteHandlers [response respondWithString:@"Health Check

I-AM-ALIVE

"]; }]; + // Deprecated: no longer needed since appium-xcuitest-driver handles calibration + // itself (https://github.com/appium/appium-xcuitest-driver/pull/2948). Kept for + // backward compatibility; will be removed in a future major release. NSString *calibrationPage = @"" "{\"x\":null,\"y\":null}" "
" @@ -276,6 +279,7 @@ - (void)registerServerKeyRouteHandlers "
" ""; [self.server get:@"/calibrate" withBlock:^(RouteRequest *request, RouteResponse *response) { + [FBLogger logFmt:@"The /calibrate endpoint is deprecated and will be removed in a future release"]; [response respondWithString:calibrationPage]; }];