[WD Proxy] Got response with status 500: {“value”:{“error”:“unable to capture screen”,“message”:“Error Domain=XCTDaemonErrorDomain Code=39 “Legacy screen requests are no longer supported” UserInfo={NSLocalizedDescription=Legacy screen requests are no longer supported}”,“traceback”:""},“sessionId”:“2721B88E-69CD-4630-B89D-0113910120A8”}
[debug] [W3C] Matched W3C error code ‘unable to capture screen’ to UnableToCaptureScreen
[debug] [W3C (561a1de8)] Encountered internal error running command: UnableToCaptureScreen: Error Domain=XCTDaemonErrorDomain Code=39 “Legacy screen requests are no longer supported” UserInfo={NSLocalizedDescription=Legacy screen requests are no longer supported}
Hi @Huwei I faced the same issue and try upgrading to Xcode 13 and appium to 1.22.2 to solve it. When using iOS simulator version 15, it is solved, but when using simulator version < 15, this issue still happens. If you don’t mind, can you try it also on ios < 15 like 14 or 13 to make sure whether the issue occurs or not?