Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/appium/appium
/ functions
Functions
2,360 in github.com/appium/appium
⨍
Functions
2,360
◇
Types & classes
699
↓ 1 callers
Function
strip
(s: string)
packages/appium/test/e2e/e2e-helpers.ts:110
↓ 1 callers
Function
stripAnsi
(text: string)
packages/support/lib/internal/terminal.ts:10
↓ 1 callers
Function
stripColors
(text: string)
packages/support/lib/console.ts:57
↓ 1 callers
Function
stubRegistry
(reqs: Record<string, string>)
packages/appium/test/unit/extension/extension-command.spec.ts:293
↓ 1 callers
Function
stubStatsOf
* Make `fs.stat` report the given identity fields instead of the real ones. * * @param targetPath - Path whose stat result is altered, or `u
packages/support/test/unit/util.spec.ts:361
↓ 1 callers
Function
subSchemaToArgDef
(subSchema: AppiumJSONSchema, argSpec: ArgSpec)
packages/appium/lib/schema/cli-args.ts:90
↓ 1 callers
Function
swap
()
packages/support/test/e2e/zip-stream-safety.e2e.spec.ts:150
↓ 1 callers
Function
swapOnce
()
packages/support/test/e2e/zip.e2e.spec.ts:444
↓ 1 callers
Function
switchToFrame
(id: number | null)
packages/fake-driver/test/e2e/context.e2e.spec.ts:10
↓ 1 callers
Function
syncPackageJsonFields
* Synchronize specific fields from the root package.json to a package's package.json. * @param {Object} rootPackageJson * @param {string} packageDir
scripts/sync-monorepo-packages.mjs:96
↓ 1 callers
Function
syncTranslatedConfig
* @param {string} srcDir * @param {string} dstDir * @param {string} dstLanguage * @returns {Promise<void>}
scripts/crowdin-sync-docs-translations.mjs:145
↓ 1 callers
Function
syncTranslatedDocuments
* @param {string} srcDir * @param {string} dstDir * @returns {Promise<void>}
scripts/crowdin-sync-docs-translations.mjs:79
↓ 1 callers
Method
take
Copies the next `count` bytes, which may span several chunks of the source
packages/support/lib/internal/zip-stream-parser.ts:210
↓ 1 callers
Function
takeOption
(name: string, fallback: number)
packages/support/test/bench/zip-stream.bench.ts:25
↓ 1 callers
Function
testFileContents
()
packages/support/test/e2e/util.e2e.spec.ts:47
↓ 1 callers
Function
throttledSource
(archive: string)
packages/support/test/bench/zip-stream.bench.ts:39
↓ 1 callers
Function
throwIncompatible
()
packages/appium/lib/cli/extension-command.ts:1299
↓ 1 callers
Function
throwsUncolored
Schema validation errors are colorized when stdout is a TTY; strip that before matching.
packages/appium/test/unit/parser.spec.ts:65
↓ 1 callers
Method
timing
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:56
↓ 1 callers
Function
toArray
(x: T | T[])
packages/base-driver/lib/protocol/errors.ts:776
↓ 1 callers
Function
toBiDiCommandItemParam
(x: any, isRequired: boolean)
packages/appium/lib/inspector-commands.ts:139
↓ 1 callers
Function
toBiDiCommandParams
(params: BidiMethodParams | undefined)
packages/appium/lib/inspector-commands.ts:134
↓ 1 callers
Function
toBiDiCommandsMap
( baseModuleMap: BidiModuleMap, driverModuleMap: BidiModuleMap, pluginModuleMaps: Record<string, BidiMod
packages/appium/lib/inspector-commands.ts:129
↓ 1 callers
Function
toBufferIfBinaryLike
(data: unknown)
packages/support/lib/internal/plist-buffers.ts:2
↓ 1 callers
Function
toCacheKey
* Transforms the given app link to the cache key. * Necessary to properly cache apps having the same address but different query strings, * e.g. one
packages/base-driver/lib/basedriver/helpers/app-cache.ts:322
↓ 1 callers
Function
toCommandNameCacheKey
(endpoint: string, method?: string)
packages/base-driver/lib/protocol/routes/index.ts:93
↓ 1 callers
Function
toCpOptions
(opts: CopyFileOptions = {})
packages/support/lib/fs.ts:114
↓ 1 callers
Function
toExactMatchPattern
* Transforms the given text to a pattern, which does not match if the * text is only a part of a longer word. * * `\b` only asserts a boundary next
packages/logger/lib/secure-values-preprocessor.ts:151
↓ 1 callers
Function
toHash
* @param {string} str * @returns {string}
scripts/crowdin-update-docs-resources.mjs:27
↓ 1 callers
Method
toIssue
(result: DoctorCheckResult, check: IDoctorCheck)
packages/appium/lib/doctor/doctor.ts:185
↓ 1 callers
Function
toLabel
(iface: NetworkInterfaceInfo)
packages/http-server/lib/network.ts:44
↓ 1 callers
Function
toNaturalNumber
(defaultValue: number, envVarName?: string)
packages/base-driver/lib/basedriver/helpers/app-cache.ts:513
↓ 1 callers
Method
toNormalizedExtName
* Normalizes a raw extension name (not including type).
packages/appium/lib/schema/arg-spec.ts:97
↓ 1 callers
Function
toRedirectUrl
* Builds the target URL of a redirect from the options `follow-redirects` passes to `beforeRedirect`. * Fails closed: a redirect whose target cannot
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:425
↓ 1 callers
Function
toRequestUrl
(requestOpts: AxiosRequestConfig)
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:417
↓ 1 callers
Function
toRestCommandItemParam
(x: any, isRequired: boolean)
packages/appium/lib/inspector-commands.ts:73
↓ 1 callers
Function
topLevelProp
* Top-level manifest field an ajv error is about. For `required` errors, ajv reports the missing * field in `params.missingProperty` (since `instance
packages/appium/lib/extension/manifest/validator.ts:19
↓ 1 callers
Function
trackBiDiEvent
(source: object, consumer: object)
packages/appium/lib/bidi/flow-control.ts:82
↓ 1 callers
Function
trackBidiProxyCommands
Track proxied commands until an upstream response or socket termination.
packages/appium/lib/bidi/commands.ts:470
↓ 1 callers
Function
trackResponseClose
(res: Response)
packages/base-driver/lib/protocol/route-handler.ts:190
↓ 1 callers
Function
tracker
()
packages/support/test/unit/internal/write-queue.spec.ts:8
↓ 1 callers
Function
transform
(chunk: Buffer, _encoding, callback)
packages/support/lib/internal/base64-encode-stream.ts:8
↓ 1 callers
Function
truncateString
(value: string, options: TruncateStringOptions | number = {})
packages/support/lib/util.ts:150
↓ 1 callers
Function
tryWdProxy
( driver: Core<any>, req: Request, res: Response, spec: DriverMethodDef<Driver>, isSessCmd: boolean,
packages/base-driver/lib/protocol/proxy.ts:51
↓ 1 callers
Function
typesDiffer
(dest: string)
packages/appium/lib/bootstrap/startup-config.ts:40
↓ 1 callers
Method
unconsume
Returns unread bytes to the buffer (they must have been consumed from the current buffer)
packages/support/lib/internal/zip-stream-parser.ts:222
↓ 1 callers
Function
unicodePathExtra
(rawName: string, unicodeName: string, crcName = rawName)
packages/support/test/e2e/zip.e2e.spec.ts:627
↓ 1 callers
Function
uninstallExtension
* Run the given extensionConfigArgs command after checking if the given extensionName was already installed.
packages/appium/lib/cli/setup-command.ts:201
↓ 1 callers
Function
uniqueId
(name: string)
packages/archward/lib/init/derive.ts:40
↓ 1 callers
Function
unknownMethodHandler
(allowedMethods: string)
packages/http-server/lib/middleware/unknown-method.ts:12
↓ 1 callers
Function
unwrapConstructor
* Unwraps constructor references passed to `Reflect.construct`. * Preserves VM-defined subclass constructors (`newTarget`) instead of wrapping them a
packages/execute-driver-plugin/lib/vm-host-binding.ts:501
↓ 1 callers
Function
unwrapParams
(paramSets: PayloadParams, jsonObj: T)
packages/base-driver/lib/protocol/params.ts:217
↓ 1 callers
Function
updateDocuments
* @returns {Promise<void>}
scripts/crowdin-update-docs-resources.mjs:270
↓ 1 callers
Function
updateMkDocsConfig
* @returns {Promise<void>}
scripts/crowdin-update-docs-resources.mjs:289
↓ 1 callers
Method
updateServer
(expressApp: Express, httpServer: AppiumServer)
packages/storage-plugin/lib/plugin.ts:33
↓ 1 callers
Method
updateServer
( expressApp: Application, httpServer: AppiumServer, cliArgs: Record<string, unknown>, )
packages/fake-plugin/lib/plugin.ts:96
↓ 1 callers
Method
updateSettings
* Update the session's settings dictionary with a new settings object * * @param newSettings - A key-value map of setting names to values. Setti
packages/base-driver/lib/basedriver/driver.ts:421
↓ 1 callers
Method
updateSymlinkDependencies
(target: SymlinkTarget, missingPaths: Set<string>)
packages/support/lib/internal/zip-entry-writer.ts:639
↓ 1 callers
Function
updaterWithGetRoute
(route: string, reply: string)
packages/http-server/test/e2e/express/server.e2e.spec.ts:208
↓ 1 callers
Function
upgrade
(headers: Record<string, string>, allowCors?: boolean)
packages/http-server/test/unit/express/websocket-upgrade.spec.ts:33
↓ 1 callers
Function
upload
(id: string)
packages/storage-plugin/test/unit/concurrent-upload.spec.ts:27
↓ 1 callers
Function
uploadDocumentsToStorage
* @param {string[]} matchedFiles * @returns {Promise<Record<string, string>>}
scripts/crowdin-update-docs-resources.mjs:140
↓ 1 callers
Function
uploadFileToHttp
({localPath, url, options, log}: HttpUploadRequest)
packages/support/lib/internal/http-upload.ts:65
↓ 1 callers
Function
url
(value: string)
packages/base-driver/test/unit/basedriver/app-url-rules.spec.ts:12
↓ 1 callers
Function
urlFor
(sess: string, path: string)
packages/base-driver/test/helpers.ts:48
↓ 1 callers
Method
useColor
(stream: Writable | null)
packages/logger/lib/log.ts:272
↓ 1 callers
Function
useScreenshot
(image: Buffer)
packages/images-plugin/test/unit/finder.spec.ts:103
↓ 1 callers
Method
validate
()
packages/appium/lib/extension/driver-config.ts:40
↓ 1 callers
Method
validate
* Runs the configured validations, then resets internal state upon completion or rejection.
packages/docutils/lib/validate.ts:161
↓ 1 callers
Method
validateDesiredCaps
* Validate the capabilities used to start a session * * @param caps - the capabilities * * @returns Whether or not the capabilities are va
packages/base-driver/lib/basedriver/driver.ts:393
↓ 1 callers
Method
validateDestinationDirectory
()
packages/support/lib/internal/move-operation.ts:121
↓ 1 callers
Method
validateExtensionFields
* Validates fields in `appium` field of `driverMetadata` * * For any `package.json` fields which a driver requires, validate the type of * th
packages/appium/lib/cli/driver-command.ts:108
↓ 1 callers
Function
validateFeatures
* Validates the list of allowed/denied server features * * @param features
packages/appium/lib/insecure-features.ts:102
↓ 1 callers
Method
validateLocatorStrategy
(strategy: string, webContext?: boolean)
packages/types/lib/driver.ts:124
↓ 1 callers
Method
validateManifestEnvelope
* Validates the top-level shape of a parsed `extensions.yaml` document (before migration). * * @param data - Result of `YAML.parse()` on the man
packages/appium/lib/extension/manifest/validator.ts:54
↓ 1 callers
Method
validateMkDocs
* Validates that the correct version of `mkdocs` is installed
packages/docutils/lib/validate.ts:241
↓ 1 callers
Method
validateMkDocsConfig
* Validates (sort of) an `mkdocs.yml` config file. * * It checks if the file exists, if it can be parsed as YAML, and if it has a `site_name` pr
packages/docutils/lib/validate.ts:283
↓ 1 callers
Method
validatePythonDeps
* Asserts that the dependencies as listed in `requirements.txt` are installed. * * @privateRemarks This lists all installed packages with `pip`
packages/docutils/lib/validate.ts:317
↓ 1 callers
Method
validatePythonVersion
* Asserts that the Python version is 3.x
packages/docutils/lib/validate.ts:383
↓ 1 callers
Method
validateSymlinkTarget
* Reject escaping targets or excessive traversal; return missing-path keys for later rechecks.
packages/support/lib/internal/zip-entry-writer.ts:571
↓ 1 callers
Method
validateValues
(required: Capabilities<C>, candidates: Capabilities<C>[])
packages/base-driver/lib/basedriver/capabilities.ts:389
↓ 1 callers
Function
validateYaml
* @param {string} yamlPath * @returns {Promise<boolean>}
scripts/crowdin-sync-docs-translations.mjs:104
↓ 1 callers
Function
valuesDiffer
(dest: string)
packages/appium/lib/bootstrap/startup-config.ts:49
↓ 1 callers
Function
verifyAppExtension
(app: string, supportedAppExtensions: string[])
packages/base-driver/lib/basedriver/helpers/app-cache.ts:470
↓ 1 callers
Function
verifyBuildInfoUpdate
(useLocalGit: boolean, opts: {sha?: string; built?: string} = {})
packages/appium/test/e2e/config.e2e.spec.ts:64
↓ 1 callers
Function
verifyIfAcceptable
(capName: string)
packages/base-driver/lib/basedriver/capabilities.ts:279
↓ 1 callers
Function
verifySiteBuilt
* Helper function to verify a site was built
packages/docutils/test/e2e/build.e2e.spec.ts:62
↓ 1 callers
Method
waitForMatches
* Matches the template against screenshots until a match is accepted or the implicit wait ends. * * @returns The accepted matches and the templa
packages/images-plugin/lib/finder.ts:434
↓ 1 callers
Function
walk
(dir: string)
packages/support/test/zip-builder.ts:179
↓ 1 callers
Function
warn
(pkg: object)
packages/appium/test/unit/extension/extension-command.spec.ts:419
↓ 1 callers
Function
warn
(error: unknown)
packages/base-driver/lib/protocol/route-handler.ts:209
↓ 1 callers
Method
warnIfCorsEnabled
(serverOpts: ServerOpts)
packages/appium/lib/bootstrap/appium-main-runner.ts:104
↓ 1 callers
Function
whenSessionDeleted
()
packages/http-server/test/e2e/protocol/aborted-session.e2e.spec.ts:88
↓ 1 callers
Function
whenWarned
()
packages/http-server/test/e2e/protocol/aborted-session.e2e.spec.ts:98
↓ 1 callers
Function
whichPython
()
packages/docutils/lib/fs.ts:143
↓ 1 callers
Function
whichPython3
()
packages/docutils/lib/fs.ts:148
↓ 1 callers
Function
withNoProxy
(noProxy: string)
packages/base-driver/test/unit/basedriver/env-proxy.spec.ts:45
↓ 1 callers
Function
withServer
( respond: (res: http.ServerResponse) => void, run: (url: string) => Promise<void>, )
packages/support/test/unit/net.spec.ts:265
↓ 1 callers
Function
withoutProxyReq
(fn: () => Promise<T>)
packages/base-driver/lib/protocol/proxy-context.ts:21
↓ 1 callers
Function
withoutTimestamps
(x: typeof logEvents)
packages/logger/test/unit/basic.spec.ts:161
← previous
next →
1,301–1,400 of 2,360, ranked by callers