MCPcopy Create free account

hub / github.com/appium/appium / functions

Functions2,268 in github.com/appium/appium

↓ 6 callersMethodreject
()
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:180
↓ 6 callersFunctionrunExtensionCommand
( args: Args<Cmd, SubCmd>, config: ExtensionConfig<Cmd>, )
packages/appium/lib/cli/extension.ts:31
↓ 6 callersMethodsetImplicitWait
* A helper method (not a command) used to set the implicit wait value * * @param ms - the implicit wait in ms, or null to disable the timeout
packages/types/lib/commands/basedriver.ts:71
↓ 6 callersFunctionsetPath
(obj: Record<string, unknown>, path: string, value: unknown)
packages/appium/lib/utils/object.ts:136
↓ 6 callersFunctionsyncShadowProperty
* Synchronizes a single property from `hostTarget` onto `shadowTarget` when required by V8 * Proxy invariants (e.g. non-configurable properties, arra
packages/execute-driver-plugin/lib/vm-host-binding.ts:388
↓ 6 callersFunctionunwrapIfProxy
* Maps a value crossing from the VM into the host: * - Unwraps proxies created by this module back to their underlying host target. * - Wraps VM-rea
packages/execute-driver-plugin/lib/vm-host-binding.ts:230
↓ 6 callersFunctionuseDriverCli
()
packages/appium/test/e2e/cli-driver-helpers.ts:104
↓ 5 callersMethodadd
(...items: T[])
packages/opencv/lib/autorelease-pool.ts:13
↓ 5 callersFunctionchunked
(data: Buffer, sizes: number[] | ((index: number) => number))
packages/support/test/zip-builder.ts:163
↓ 5 callersMethodensureDirWithinRoot
(dirPath: string, fileName: string, mode?: number)
packages/support/lib/internal/zip-entry-writer.ts:389
↓ 5 callersMethodexecuteBidiCommand
Execute a driver (WebDriver Bidi protocol) command by its name as defined in the bidi commands file * @param bidiCmd - the name of the command in t
packages/types/lib/driver.ts:225
↓ 5 callersMethodfindElOrEls
* A helper method that returns one or more UI elements based on the search criteria * * @param strategy - the locator strategy * @param selec
packages/types/lib/commands/basedriver.ts:229
↓ 5 callersMethodfindElements
* Find a list of all UI elements matching a given locator strategy and a selector * @see {@link https://w3c.github.io/webdriver/#find-elements}
packages/types/lib/commands/basedriver.ts:168
↓ 5 callersMethodgetActualError
()
packages/base-driver/lib/protocol/errors.ts:762
↓ 5 callersFunctiongetBuildInfo
()
packages/appium/lib/helpers/build.ts:108
↓ 5 callersMethodgetExtensionData
* Returns the live installed-extension map for drivers or plugins (same object as stored in memory). * Mutations affect the manifest until replaced
packages/appium/lib/extension/manifest/manifest.ts:79
↓ 5 callersMethodgetImageElement
(imgElId: string)
packages/images-plugin/lib/finder.ts:69
↓ 5 callersMethodgetTimeouts
* Get the current timeouts * @see {@link https://w3c.github.io/webdriver/#get-timeouts} * * @returns A map of timeout names to ms values
packages/types/lib/commands/basedriver.ts:88
↓ 5 callersFunctionhttpGet
( url: string, options: Omit<HttpRequestOptions, 'method' | 'data'> = {}, )
packages/driver-test-support/lib/helpers.ts:30
↓ 5 callersFunctioninitMocks
(sandbox = createSandbox())
packages/appium/test/unit/extension/mocks.ts:83
↓ 5 callersFunctionisIgnoredEntry
(fileName: string)
packages/support/lib/internal/zip-entry-writer.ts:694
↓ 5 callersFunctionisPlainObject
(value: unknown)
packages/relaxed-caps-plugin/lib/plugin.ts:78
↓ 5 callersFunctionisPlainObject
(value: unknown)
packages/support/lib/internal/plain-object.ts:7
↓ 5 callersFunctionisServerVersionIncompatibleError
(err: unknown)
packages/appium/test/e2e/cli-driver-helpers.ts:36
↓ 5 callersFunctionisW3cCaps
(caps: unknown)
packages/base-driver/lib/helpers/capabilities.ts:8
↓ 5 callersFunctionloadExtensions
(appiumHome: string)
packages/appium/lib/extension/index.ts:46
↓ 5 callersFunctionmapValues
( obj: T, fn: (value: T[keyof T], key: keyof T) => R, )
packages/appium/lib/utils/object.ts:83
↓ 5 callersFunctionomitKeys
(obj: T, keys: readonly string[])
packages/appium/lib/utils/object.ts:52
↓ 5 callersMethodonUnexpectedShutdown
(handler: () => any)
packages/types/lib/driver.ts:87
↓ 5 callersMethodopen
(path: PathLike, flags: string)
packages/support/lib/internal/fs-like.ts:17
↓ 5 callersMethodpublish
(topic: string, publisher: string, data: T)
packages/types/lib/ipc.ts:67
↓ 5 callersFunctionresetMockDefaults
(mocks: InitMocksResult)
packages/appium/test/unit/extension/mocks.ts:156
↓ 5 callersMethodresolveWithinRoot
(fileName: string)
packages/support/lib/internal/zip-entry-writer.ts:511
↓ 5 callersFunctionrun
( appiumHome: string, args: CliExtArgs | CliArgs, opts: {env?: Record<string, string>; FORCE_COLOR?: str
packages/appium/test/e2e/e2e-helpers.ts:94
↓ 5 callersMethodsetPageLoadTimeout
* A helper method (not a command) used to set the page load timeout value * * @param ms - the page load timeout in ms, or null to disable the ti
packages/types/lib/commands/basedriver.ts:64
↓ 5 callersMethodsetScriptTimeout
* A helper method (not a command) used to set the script timeout value * * @param ms - the script timeout in ms, or null to disable the timeout
packages/types/lib/commands/basedriver.ts:57
↓ 5 callersFunctionslugify
(value: string)
packages/strongbox/lib/util.ts:5
↓ 5 callersMethodthrowIfFailed
* Reports a failure of any job so far, so that the caller does not carry on with the work which is not needed anymore. * * @throws {unknown} The
packages/support/lib/internal/write-queue.ts:68
↓ 5 callersFunctiontoReadableSizeString
(bytes: number | string)
packages/support/lib/util.ts:319
↓ 5 callersMethodtryEnsure
Buffers at least `count` unread bytes, returns false if the source ends before
packages/support/lib/internal/zip-stream-parser.ts:243
↓ 4 callersMethod_patchExit
* Patches the `exit()` method of the parser to throw an error, so we can handle it manually.
packages/appium/lib/cli/parser.ts:149
↓ 4 callersMethodaddWebSocketHandler
* Adds websocket handler to an {@linkcode AppiumServer}. * @param handlerPathname - Web socket endpoint path starting with a single slash character
packages/types/lib/server.ts:29
↓ 4 callersFunctionapplyExtensionMocks
(mocks: InitMocksResult)
packages/appium/test/unit/extension/mocks.ts:202
↓ 4 callersMethodbidiSubscribe
(events: string[], contexts?: string[], userContexts?: string[])
packages/types/lib/commands/basedriver.ts:7
↓ 4 callersFunctioncapitalize
(value: string)
packages/appium/lib/utils/object.ts:41
↓ 4 callersFunctioncheckParams
( paramSpec: PayloadParams, args: Record<string, any>, options: CheckParamsOptions = {}, )
packages/base-driver/lib/protocol/params.ts:23
↓ 4 callersFunctioncreateBase64EncodeStream
()
packages/support/lib/internal/base64-encode-stream.ts:4
↓ 4 callersFunctioncreateNpmFixture
( shimDir: string, cliSource: string, npmBin = path.join(shimDir, 'node_modules', 'npm', 'bin'), )
packages/appium/test/e2e/npm-arguments.e2e.spec.ts:428
↓ 4 callersFunctioncreateServer
( driver: T, options: { extraMethodMap?: MethodMap<T>; hostname?: string; cliArgs?: Partial<Se
packages/http-server/test/helpers.ts:7
↓ 4 callersMethoddrain
()
packages/opencv/lib/autorelease-pool.ts:20
↓ 4 callersMethoddrain
* Waits for all jobs. * * @throws {unknown} The first failure of any job
packages/support/lib/internal/write-queue.ts:79
↓ 4 callersMethoddriverForSession
(sessionId: string)
packages/types/lib/driver.ts:134
↓ 4 callersMethodend
(chunk: string)
packages/http-server/test/unit/express/websocket-upgrade.spec.ts:14
↓ 4 callersMethodensure
* Buffers at least `count` unread bytes. * * @throws {Error} If the source ends before
packages/support/lib/internal/zip-stream-parser.ts:236
↓ 4 callersFunctionerrorFromW3CJsonCode
( signature: string, message: string, stacktrace?: string, data?: Record<string, unknown>, )
packages/base-driver/lib/protocol/errors.ts:893
↓ 4 callersMethodfindByImage
* Find a screen rect represented by an ImageElement corresponding to an image * template sent in by the client * * @param template - image us
packages/images-plugin/lib/finder.ts:87
↓ 4 callersMethodfindElOrElsWithProcessing
* This is a wrapper for {@linkcode findElOrEls} that validates locator strategies * and implements the `appium:printPageSourceOnFindFailure` capabi
packages/types/lib/commands/basedriver.ts:244
↓ 4 callersMethodgetAttr
(k: string)
packages/fake-driver/lib/fake-element.ts:57
↓ 4 callersMethodgetInvalidArgument
`invalid argument` for a JSON body that failed to parse, after the route has matched.
packages/base-driver/lib/protocol/json-parse-error.ts:18
↓ 4 callersMethodgetLocation
()
packages/fake-driver/lib/fake-element.ts:73
↓ 4 callersFunctiongetSessionId
(driver: Core<any>, req: Request)
packages/base-driver/lib/protocol/session.ts:20
↓ 4 callersMethodgetStatus
* @summary Retrieve the server's current status. * @description * Returns information about whether a remote end is in a state in which it can c
packages/types/lib/driver.ts:119
↓ 4 callersFunctioninitOpenCv
()
packages/opencv/lib/index.ts:86
↓ 4 callersFunctioninsertAppiumPrefixes
( caps: Capabilities<C>, )
packages/appium/lib/helpers/capability.ts:103
↓ 4 callersFunctionisErrnoException
(err: unknown)
packages/support/lib/internal/move-operation.ts:170
↓ 4 callersMethodisFeatureEnabled
(name: string)
packages/types/lib/driver.ts:122
↓ 4 callersMethodisMac
()
packages/support/lib/system.ts:51
↓ 4 callersFunctionisPlainObject
(value: unknown)
packages/logger/lib/utils/node.ts:7
↓ 4 callersFunctionisSessionCommand
(command: string)
packages/base-driver/lib/protocol/session.ts:41
↓ 4 callersMethodlog
General logging function. Writes to `STDOUT`.
packages/support/lib/console.ts:142
↓ 4 callersMethodlogEvent
(eventName: string)
packages/types/lib/driver.ts:133
↓ 4 callersFunctionmapKeys
( obj: T, fn: (value: T[keyof T], key: keyof T) => string, )
packages/appium/lib/utils/object.ts:97
↓ 4 callersFunctionnormalizeBasePath
(basePath: string)
packages/http-server/lib/server.ts:239
↓ 4 callersFunctionomit
(obj: T, key: string)
packages/base-driver/lib/utils.ts:32
↓ 4 callersMethodperformActions
* Perform touch or keyboard actions * @see {@link https://w3c.github.io/webdriver/#perform-actions} * * @param actions - the action sequence
packages/types/lib/commands/webdriver.ts:390
↓ 4 callersFunctionpickBy
( obj: T, predicate: (value: T[keyof T], key: keyof T) => boolean, )
packages/appium/lib/utils/object.ts:67
↓ 4 callersFunctionprocessCapabilities
( w3cCaps: W3CCaps, constraints: C | undefined = {} as C, shouldValidateCaps: boolean | undefined = true
packages/base-driver/lib/basedriver/capabilities.ts:233
↓ 4 callersMethodread
(fd: number, buffer: Buffer, offset: number, length: number, position: number)
packages/support/lib/internal/fs-like.ts:19
↓ 4 callersFunctionreadConfigFile
( filepath?: string, opts: ReadConfigFileOptions = {}, )
packages/appium/lib/bootstrap/config-file.ts:51
↓ 4 callersFunctionreadPackage
(options: ReadPackageOptions = {})
packages/docutils/lib/utils/package-json.ts:63
↓ 4 callersFunctionremoveAppiumPrefixes
( caps: NSCapabilities<C>, )
packages/appium/lib/helpers/capability.ts:114
↓ 4 callersMethodremoveWebSocketHandler
* Removes existing WebSocket handler from the server instance. * * The call is ignored if the given `handlerPathname` handler is not present in
packages/types/lib/server.ts:37
↓ 4 callersFunctionrequest
(opts: MockRequestOpts)
packages/base-driver/test/unit/wd-proxy/mock-request.ts:15
↓ 4 callersFunctionrequireDir
(root: string, requireWritable = true, displayName = 'folder path')
packages/appium/lib/bootstrap/node-helpers.ts:132
↓ 4 callersMethodreset
()
packages/storage-plugin/lib/storage.ts:80
↓ 4 callersMethodsettle
Waits for all jobs without reporting failures.
packages/support/lib/internal/write-queue.ts:85
↓ 4 callersMethodstartUnexpectedShutdown
* Signify to any owning processes that this driver encountered an error which should cause the * session to terminate immediately (for example an u
packages/types/lib/driver.ts:233
↓ 4 callersFunctionstopwatch
(id: string)
packages/docutils/lib/utils/timing.ts:8
↓ 4 callersFunctionsyncShadowExtensibility
* Synchronizes all own properties and non-extensibility from `hostTarget` onto `shadowTarget`. * Returns early once `shadowTarget` is already frozen,
packages/execute-driver-plugin/lib/vm-host-binding.ts:428
↓ 4 callersMethodtimeouts
* Set the various timeouts associated with a session * @see {@link https://w3c.github.io/webdriver/#set-timeouts} * * @param type - the type
packages/types/lib/commands/basedriver.ts:30
↓ 4 callersMethodtoArg
* Return the unique CLI argument key for the argument.
packages/appium/lib/schema/arg-spec.ts:86
↓ 4 callersFunctiontransformSourceXml
( xmlStr: string, platform: string, {metadata = {} as TransformMetadata, addIndexPath = false}: Transfor
packages/universal-xml-plugin/lib/source.ts:32
↓ 4 callersFunctiontryHandleWebSocketUpgrade
({ req, socket, head, webSocketsMapping, allowCors = false, }: WebSocketUpgradeOpts)
packages/http-server/lib/middleware/websocket-upgrade.ts:30
↓ 4 callersFunctionupdateBuildInfo
(useGithubApiFallback = false)
packages/appium/lib/helpers/build.ts:90
↓ 4 callersFunctionvalidateCaps
( caps: Capabilities<C>, constraints: C | undefined = {} as C, opts: ValidateCapsOpts | undefined = {},
packages/base-driver/lib/basedriver/capabilities.ts:69
↓ 4 callersFunctionwrapDeep
* Returns the one deep proxy for this host target, creating and caching it on first use. * * @typeParam T - Host object or function type. * @param
packages/execute-driver-plugin/lib/vm-host-binding.ts:698
↓ 3 callersFunctionORIGINAL_MKDOCS_CONFIG
(langName)
scripts/crowdin-common.mjs:18
↓ 3 callersFunctionareVersionsCompatible
* Checks whether the declared Appium server version of an extension is compatible * with a given server version. Extensions with no declared range (n
packages/appium/lib/cli/extension-command.ts:1498
↓ 3 callersFunctionassertContent
(fileName: string, actual: ExpectedContent, expected: ExpectedContent)
packages/support/lib/internal/zip-entry-sink.ts:83
↓ 3 callersFunctionassertDeepInclude
(actual: unknown, expected: unknown)
packages/appium/test/e2e/cli-driver-helpers.ts:77
← previousnext →101–200 of 2,268, ranked by callers