UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

15 lines 691 B
import type { XCUITestDriver } from '../driver'; export type AllowedHttpMethod = 'GET' | 'POST' | 'DELETE'; /** * Proxies a command to WebDriverAgent * * @template TReq - Request body type * @template TRes - Response type * @param url - The endpoint URL * @param method - HTTP method to use * @param body - Optional request body * @param isSessionCommand - Whether this is a session command (default: true) * @returns Promise resolving to the response */ export declare function proxyCommand<TReq = any, TRes = unknown>(this: XCUITestDriver, url: string, method: AllowedHttpMethod, body?: TReq, isSessionCommand?: boolean): Promise<TRes>; //# sourceMappingURL=proxy-helper.d.ts.map