MCPcopy Create free account
hub / github.com/appium/appium / proxyCommand

Method proxyCommand

packages/types/lib/driver.ts:318–318  ·  view source on GitHub ↗

* Proxy a command to a connected WebDriver server * * @typeParam TReq - the type of the incoming body * @typeParam TRes - the type of the return value * @param url - the incoming URL * @param method - the incoming HTTP method * @param body - the incoming HTTP body * * @return

(url: string, method: HTTPMethod, body?: TReq)

Source from the content-addressed store, hash-verified

316 * @returns The return value of the proxied command
317 */
318 proxyCommand?<TReq = any, TRes = unknown>(url: string, method: HTTPMethod, body?: TReq): Promise<TRes>;
319}
320
321/**

Callers

nothing calls this directly

Implementers 2

FakeDriverpackages/fake-driver/lib/driver.ts
WebDriverProxypackages/base-driver/lib/wd-proxy/prox

Calls

no outgoing calls

Tested by

no test coverage detected