MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / createOptions

Method createOptions

packages/webdriver/src/request/node.ts:94–99  ·  view source on GitHub ↗
(options: RequestOptions, sessionId?: string, isBrowser: boolean = false)

Source from the content-addressed store, hash-verified

92 }
93
94 async createOptions (options: RequestOptions, sessionId?: string, isBrowser: boolean = false) {
95 const { url, requestOptions } = await super.createOptions(options, sessionId, isBrowser)
96
97 ;(requestOptions as UndiciRequestInit).dispatcher = this.getDispatcher(url, options, sessionId)
98 return { url, requestOptions }
99 }
100}

Callers 2

makeRequestFunction · 0.80
request.test.tsFile · 0.80

Calls 1

getDispatcherMethod · 0.95

Tested by

no test coverage detected