Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appium/appium
/ functions
Functions
2,268 in github.com/appium/appium
⨍
Functions
2,268
◇
Types & classes
666
↓ 1 callers
Method
_addExtensionCommandsToParser
* Adds extension sub-sub-commands to `driver`/`plugin` subcommands
packages/appium/lib/cli/parser.ts:182
↓ 1 callers
Method
_addFromStream
(opts: ItemOptions, source: Stream)
packages/storage-plugin/lib/storage.ts:144
↓ 1 callers
Method
_addFromWebSocket
(opts: ItemOptions, source: WebSocket)
packages/storage-plugin/lib/storage.ts:163
↓ 1 callers
Method
_addServerToParser
* Adds the `server` subcommand parser and returns its argument definitions.
packages/appium/lib/cli/parser.ts:161
↓ 1 callers
Method
_addSetupToParser
* Add subcommand and sub-sub commands for 'setup' subcommand.
packages/appium/lib/cli/parser.ts:255
↓ 1 callers
Function
_extractEntryTo
( zipFile: yauzl.ZipFile, entry: yauzl.Entry, destDir: string, openReadStream: OpenReadStreamFn = crea
packages/support/lib/zip.ts:177
↓ 1 callers
Method
_filterResolvedAddresses
(hostname: string, addresses: LookupAddress[])
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:262
↓ 1 callers
Method
_formatLogArgument
(arg: any)
packages/logger/lib/log.ts:373
↓ 1 callers
Method
_formatStack
()
packages/base-driver/lib/protocol/errors.ts:22
↓ 1 callers
Method
_getDriverBySupport
( matchAutomationName: string, matchPlatformName: string, )
packages/appium/lib/extension/driver-config.ts:108
↓ 1 callers
Function
_getLogger
()
packages/support/lib/logging.ts:94
↓ 1 callers
Function
_getSizeOfObject
(seen: WeakSet<object>, object: object)
packages/support/lib/internal/sizeof.ts:25
↓ 1 callers
Method
_getWindowsNpmPrefix
Captures the shim's prefix probe independently of the final npm command's output settings.
packages/appium/lib/utils/npm.ts:382
↓ 1 callers
Method
_initPaths
()
packages/appium/lib/bootstrap/node-helpers.ts:15
↓ 1 callers
Method
_makeRequest
(signal: AbortSignal)
packages/base-driver/lib/wd-proxy/proxy-request.ts:39
↓ 1 callers
Method
_parseHttpResponse
(data: any)
packages/base-driver/lib/protocol/errors.ts:748
↓ 1 callers
Method
_resolveWindowsNpmCommand
* Resolves the Node executable and npm CLI selected by the Windows shim on PATH. * * Resolution is intentionally uncached: npm helpers are not o
packages/appium/lib/utils/npm.ts:291
↓ 1 callers
Method
_resolveWindowsNpmCommandFromShim
Resolves the Node executable and npm CLI for a discovered shim, including its global prefix.
packages/appium/lib/utils/npm.ts:345
↓ 1 callers
Method
_shouldProxy
* @param hostname - The hostname of the URL (IPv6 addresses are wrapped in brackets) * @param port - The effective port of the URL
packages/base-driver/lib/basedriver/helpers/env-proxy.ts:34
↓ 1 callers
Method
_throwInvalid
(what: string, pattern: string, cause?: unknown)
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:128
↓ 1 callers
Method
_transformParsedArgs
* Given an object full of arguments as returned by `argparser.parse_args`, * expand the ones for extensions into a nested object structure and rena
packages/appium/lib/cli/parser.ts:130
↓ 1 callers
Function
acceptsWrappedBody
(req: Request, spec: DriverMethodDef<Driver>)
packages/base-driver/lib/protocol/route-handler.ts:273
↓ 1 callers
Method
activateFrame
(frame: XMLDocument)
packages/fake-driver/lib/fake-app.ts:113
↓ 1 callers
Function
addDirectory
* @param {string} name * @param {string|null} [parentId] * @returns {Promise<number>}
scripts/crowdin-update-docs-resources.mjs:50
↓ 1 callers
Function
addFile
* @param {string} name * @param {number} storageId * @param {string|null} [parentDirectoryId] * @returns {Promise<number>}
scripts/crowdin-update-docs-resources.mjs:67
↓ 1 callers
Function
addFileToStorage
(name: string, size: number)
packages/storage-plugin/test/unit/storage.spec.ts:185
↓ 1 callers
Function
addFileToStorage
(sourcePath: string, name: string)
packages/storage-plugin/test/e2e/storage.e2e.spec.ts:110
↓ 1 callers
Method
addManagedDriver
(driver: Driver)
packages/types/lib/driver.ts:130
↓ 1 callers
Method
addVendorPrefix
(caps: CapsRecord)
packages/relaxed-caps-plugin/lib/plugin.ts:55
↓ 1 callers
Method
admit
* Decides whether an event must be sent to the connection and keeps track of skipped events * * @param method The BiDi method of the event *
packages/appium/lib/bidi/flow-control.ts:286
↓ 1 callers
Function
alertTests
(context: {port: number})
packages/fake-driver/test/e2e/alert.e2e.spec.ts:6
↓ 1 callers
Function
aliasToFlag
* Convert an alias (`foo`) to a flag (`--foo`) or short flag (`-f`).
packages/appium/lib/schema/cli-args.ts:45
↓ 1 callers
Function
appEntries
()
packages/support/test/zip-stream-fixtures.ts:19
↓ 1 callers
Function
applyCentralDirectory
( centralDirectory: Buffer, written: Map<number, WrittenEntry>, latest: Map<string, number>, writer: Z
packages/support/lib/internal/zip-stream-parser.ts:682
↓ 1 callers
Method
applyLogFilters
(serverArgs: ParsedArgs<CliCommandServer>)
packages/appium/lib/bootstrap/appium-initializer.ts:192
↓ 1 callers
Method
applyMode
* Applies the permission bits of a Unix mode to an already written file or folder. Symlinks are not followed. * No-op on Windows. The caller decide
packages/support/lib/internal/zip-entry-writer.ts:344
↓ 1 callers
Method
applyNewCommandTimeout
* Store `newCommandTimeout` as milliseconds. * Null and blank strings are not a timeout. `'' * 1000` is 0, which disables the idle timeout. * No
packages/base-driver/lib/basedriver/driver.ts:500
↓ 1 callers
Function
applyNewSessionDefaults
(data: NewSessionData)
packages/fake-driver/test/e2e/driver.e2e.spec.ts:392
↓ 1 callers
Function
applyReleaseNotesTypeOverrides
* Shallow-patch a `release-notes-generator` `presetConfig.types` list, keyed by commit type. * @param {Array<{type: string, section: string, hidden?:
packages/semantic-release-config/index.mjs:158
↓ 1 callers
Function
areAllItemsEqual
(arr: unknown[])
packages/support/lib/util.ts:349
↓ 1 callers
Function
argValueNotArrayOrArraysDiffer
(dest: string)
packages/appium/lib/bootstrap/startup-config.ts:53
↓ 1 callers
Function
argsValueIsArray
(dest: string)
packages/appium/lib/bootstrap/startup-config.ts:44
↓ 1 callers
Function
arraysDiffer
(dest: string)
packages/appium/lib/bootstrap/startup-config.ts:46
↓ 1 callers
Function
asExtensionConfig
(value: unknown)
packages/appium/test/unit/extension/extension-command.spec.ts:39
↓ 1 callers
Method
assertConfigFileOk
(configResult: Awaited<ReturnType<typeof readConfigFile>>)
packages/appium/lib/bootstrap/appium-initializer.ts:114
↓ 1 callers
Function
assertHandles
(command: Command, input: string, expectedName: string)
packages/appium/test/unit/extension/extension-command.spec.ts:134
↓ 1 callers
Function
assertInclude
(actual: unknown, expected: unknown)
packages/appium/test/e2e/cli-driver-helpers.ts:87
↓ 1 callers
Function
assertIsOpen
(ws: WebSocket, timeoutMs: number = 5000)
packages/appium/lib/bidi/commands.ts:688
↓ 1 callers
Function
assertPostBodyIsJsonObject
* WebDriver requires a command POST body to be a JSON object. * The JSON parser turns a zero-length body into `{}`, so that case is recognized * fro
packages/base-driver/lib/protocol/route-handler.ts:261
↓ 1 callers
Function
assertRectContainsPoints
(rect: Rect, points: Point[])
packages/opencv/test/e2e/opencv.e2e.spec.ts:24
↓ 1 callers
Method
assertUrlAllowed
* Validates a URL against the static rules (scheme, credentials, hostname and literal addresses). * * @returns The given URL, for chaining *
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:179
↓ 1 callers
Function
assertZipSignature
(reader: ByteReader)
packages/support/lib/internal/zip-stream-parser.ts:339
↓ 1 callers
Function
asyncHandler
(req: Request, res: Response, abandonIfDisconnected?: () => boolean)
packages/base-driver/lib/protocol/route-handler.ts:95
↓ 1 callers
Method
attachSignalHandlers
(appiumDriver: ServerInitData['appiumDriver'], server: AppiumServer)
packages/appium/lib/bootstrap/appium-main-runner.ts:114
↓ 1 callers
Method
attachUnexpectedShutdownHandler
* Subscribes to the inner driver’s unexpected-shutdown hook so Appium can drop the session and * notify plugins.
packages/appium/lib/appium.ts:443
↓ 1 callers
Method
awaitRead
Waits for a read, unless the interrupt comes first. Nothing stays attached to the interrupt afterwards.
packages/support/lib/internal/zip-stream-parser.ts:323
↓ 1 callers
Function
badProxyAvoidanceList
(list: RouteMatcher[])
packages/http-server/test/e2e/protocol/protocol.e2e.spec.ts:823
↓ 1 callers
Function
basicImgElVerify
(imgElProto: any, finder: TImageElementFinder)
packages/images-plugin/test/unit/finder.spec.ts:118
↓ 1 callers
Function
basicStub
(driver: PluginDriver, finder: TImageElementFinder)
packages/images-plugin/test/unit/finder.spec.ts:93
↓ 1 callers
Function
buildAppiumURL
(address: string, port: string | number, session: string, pathname: string)
packages/driver-test-support/lib/helpers.ts:139
↓ 1 callers
Function
buildAppiumURL
(address: string, port: string | number, session: string, pathname: string)
packages/base-driver/test/helpers.ts:55
↓ 1 callers
Function
buildCommandArgs
* Turns the request into the ordered argument list for the driver command, running any * command-specific validator. Proxy info a plugin might need i
packages/base-driver/lib/protocol/route-handler.ts:314
↓ 1 callers
Function
buildErrorResponse
* Figures out the HTTP status/body to send back for an error thrown while handling the request.
packages/base-driver/lib/protocol/route-handler.ts:406
↓ 1 callers
Method
buildFixMessage
()
packages/appium/lib/doctor/doctor.ts:201
↓ 1 callers
Function
buildReqRes
(url: string, method: string, body?: any)
packages/base-driver/test/unit/wd-proxy/proxy.spec.ts:9
↓ 1 callers
Function
buildSchema
()
packages/appium/test/unit/schema/schema.spec.ts:127
↓ 1 callers
Function
buildServerOpts
( appiumDriver: AppiumDriver, parsedArgs: ParsedArgs<CliCommandServer>, driverClasses: DriverNameMap,
packages/appium/lib/bootstrap/main-helpers.ts:138
↓ 1 callers
Function
buildTranslations
* @returns {Promise<number>}
scripts/crowdin-sync-docs-translations.mjs:36
↓ 1 callers
Function
cacheResponse
(key: string, req: Request, res: Response)
packages/base-driver/lib/protocol/idempotency.ts:123
↓ 1 callers
Function
call
()
packages/appium/test/unit/appiumdriver.spec.ts:789
↓ 1 callers
Method
cancel
()
packages/base-driver/lib/wd-proxy/proxy-request.ts:34
↓ 1 callers
Function
caps
(deviceName: string)
packages/appium/test/unit/appiumdriver.spec.ts:833
↓ 1 callers
Function
captureResponse
(socket: Socket)
packages/base-driver/lib/protocol/idempotency.ts:203
↓ 1 callers
Function
captureWrites
(t: TestContext)
packages/support/test/unit/console.spec.ts:100
↓ 1 callers
Function
checkNodeOk
()
packages/appium/lib/bootstrap/node-helpers.ts:27
↓ 1 callers
Method
checkOptions
* Performs runtime validation (and optionally transformation) of options. * * Should not set defaults. * * The default implementation slug
packages/strongbox/lib/index.ts:331
↓ 1 callers
Function
checkReportStatus
* Check report generation status * @param {string} reportId * @returns {Promise<{status: string, progress: number}>}
scripts/crowdin-stats.mjs:60
↓ 1 callers
Method
chmodIfPlain
The fallback for entries that cannot be opened: a short window remains between the check and the change.
packages/support/lib/internal/zip-entry-writer.ts:486
↓ 1 callers
Method
clarifyCommandName
* A helper method to modify the command name before it's logged. * * Useful for resolving generic commands like 'execute' to a more specific
packages/base-driver/lib/basedriver/driver.ts:203
↓ 1 callers
Method
classQuery
(className: string, ctx?: XMLDocument | null)
packages/fake-driver/lib/fake-app.ts:135
↓ 1 callers
Function
cleanupObsoleteDocuments
* @returns {Promise<void>}
scripts/crowdin-update-docs-resources.mjs:232
↓ 1 callers
Method
cleanupSync
()
packages/storage-plugin/lib/storage.ts:100
↓ 1 callers
Function
clear
()
packages/appium/lib/logsink.ts:123
↓ 1 callers
Method
clearAll
* Clears _all_ items. * * @param force - If `true`, will rimraf the container. Otherwise, will only delete individual items.
packages/strongbox/lib/index.ts:198
↓ 1 callers
Function
clearBidiSubscriptions
(driver: BidiSubscriptionDriver)
packages/base-driver/lib/basedriver/commands/bidi.ts:20
↓ 1 callers
Method
clearImageElements
()
packages/images-plugin/lib/finder.ts:73
↓ 1 callers
Method
close
* Stops reading and releases the source. It does not wait for a source that is stalled in the middle of * a read: a stream is destroyed, which ends
packages/support/lib/internal/zip-stream-parser.ts:307
↓ 1 callers
Method
closeArchive
()
packages/support/lib/internal/zip-extractor.ts:102
↓ 1 callers
Method
closeOverloaded
(buffered: number)
packages/appium/lib/bidi/flow-control.ts:238
↓ 1 callers
Function
closeSockets
(server: AppiumServer)
packages/storage-plugin/test/unit/plugin.spec.ts:332
↓ 1 callers
Function
closeStream
(stream: WriteStream)
packages/support/lib/internal/http-upload.ts:32
↓ 1 callers
Function
closeWriter
(writer: WriteStream)
packages/base-driver/lib/basedriver/helpers/app-cache.ts:333
↓ 1 callers
Function
coerceVersion
(ver: string, strict = true)
packages/support/lib/util.ts:368
↓ 1 callers
Function
collect
(root: string, options?: WalkOptions)
packages/support/test/unit/internal/walker.spec.ts:12
↓ 1 callers
Function
collectViaEvents
(root: string, options?: WalkOptions)
packages/support/test/unit/internal/walker.spec.ts:20
↓ 1 callers
Function
colorizePrefix
* Selects the color of the text in terminal from the MIN_COLOR..MAX_COLOR * range. We use adler32 hashing to ensure that equal prefixes would always
packages/appium/lib/logsink.ts:260
↓ 1 callers
Function
commandForAnyMethod
()
packages/base-driver/lib/protocol/routes/index.ts:80
↓ 1 callers
Function
compactConfig
* Compacts an object for {@link showConfig}: * 1. Removes `subcommand` key/value * 2. Removes `undefined` values * 3. Removes empty objects (but no
packages/appium/lib/bootstrap/startup-config.ts:133
↓ 1 callers
Function
completeSocketResponse
(error?: string)
packages/base-driver/lib/protocol/idempotency.ts:159
↓ 1 callers
Function
configure
(id: string, delayMs: number)
packages/base-driver/test/unit/basedriver/app-cache.spec.ts:33
← previous
next →
601–700 of 2,268, ranked by callers