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
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
↓ 1 callers
Function
wrapCommandWithPlugins
( driver: ExtensionCore, plugins: ExtensionCore[], method: string, params: StringRecord, )
packages/appium/lib/bidi/commands.ts:222
↓ 1 callers
Method
wrapCommandWithPlugins
Builds an async chain: each plugin wraps `next` until the default driver behavior runs.
packages/appium/lib/appium.ts:746
↓ 1 callers
Function
wrapParams
(paramSets: PayloadParams, jsonObj: T)
packages/base-driver/lib/protocol/params.ts:205
↓ 1 callers
Function
wrapPromiseAsThenable
* Wraps a host Promise by exposing a null-prototype thenable that delegates to `p` and ensures * fulfillment/rejection values are passed through {@li
packages/execute-driver-plugin/lib/vm-host-binding.ts:280
↓ 1 callers
Function
wrapUseLayer
* `use` middleware runs before the route it was registered with. * A bad JSON body skips it. A prefix such as `app.use('/solo', fn)` is itself the ha
packages/http-server/lib/middleware/extension-routes.ts:106
↓ 1 callers
Function
wrapVmFunctionForHost
(vmFn: HostCallable)
packages/execute-driver-plugin/lib/vm-host-binding.ts:184
↓ 1 callers
Function
write
()
packages/schema/scripts/generate-schema-json.mjs:44
↓ 1 callers
Function
write
Writes a chunk and waits until it is processed. Unlike the callback alone, it settles if the stream is destroyed meanwhile.
packages/support/lib/internal/zip-stream-parser.ts:450
↓ 1 callers
Method
write
(stream: Writable | null, msg: string, style: StyleObject = {})
packages/logger/lib/log.ts:362
↓ 1 callers
Method
write
* Serializes the current in-memory manifest to the resolved manifest path. * Concurrent calls while a write is in flight share the same in-flight w
packages/appium/lib/extension/manifest/manifest.ts:177
↓ 1 callers
Method
write
* Writes a single entry. Resource-fork (`__MACOSX/`) and nameless entries are skipped. * * @throws {Error} If the entry would end up outside of
packages/support/lib/internal/zip-entry-writer.ts:104
↓ 1 callers
Function
writeFileString
(filepath: string, content: JsonValue)
packages/docutils/lib/fs.ts:128
↓ 1 callers
Function
writeFixtureAndRequireTwice
(extName: string, packageJson: object, entrySource: string)
packages/appium/test/unit/extension/extension-config.spec.ts:472
↓ 1 callers
Function
writeJson
* Stringify an object and write it to a JSON file. * @param {string} filepath * @param {Object} data * @returns {Promise<void>}
scripts/sync-monorepo-packages.mjs:38
↓ 1 callers
Function
writeLogLine
(text: string)
packages/appium/test/unit/bidi/commands.spec.ts:79
↓ 1 callers
Function
writePackageJson
( dir: string, pkg: Record<string, unknown> = {name: 'fixture-pkg', version: '1.2.3'}, )
packages/appium/test/unit/utils/read-package.spec.ts:23
Function
CustomCtor
(this: any)
packages/support/test/unit/util.spec.ts:580
Function
[Symbol.asyncIterator]
()
packages/strongbox/test/unit/strongbox.spec.ts:278
Method
[Symbol.asyncIterator]
()
packages/types/lib/ipc.ts:46
Method
[Symbol.asyncIterator]
* Yields each persisted item in the same order as {@linkcode Strongbox.listItems}. Use * `for await (const item of box)`. * * @remarks Walks
packages/strongbox/lib/index.ts:315
Method
[Symbol.asyncIterator]
()
packages/support/lib/internal/walker.ts:173
Method
[Symbol.asyncIterator]
()
packages/base-driver/lib/basedriver/ipc.ts:83
Function
_addRepositoryUrlsToListData
* Add repository URLs to list data for all extensions
packages/appium/lib/cli/extension-command.ts:1076
Function
_buildListData
(showInstalled: boolean)
packages/appium/lib/cli/extension-command.ts:863
Function
_checkForUpdates
* Check for available updates for installed extensions
packages/appium/lib/cli/extension-command.ts:1044
Function
_checkGivenExtVersionCompatibility
* Checks whether the given extension version (or the latest, if not specified) is compatible * with the currently installed server version. *
packages/appium/lib/cli/extension-command.ts:1260
Function
_createFatalError
* Logs a message and returns an {@linkcode Error} to throw. * * For TS to understand that a function throws an exception, it must actually throw
packages/appium/lib/cli/extension-command.ts:274
Method
_desiredCapConstraints
* Contains the base constraints plus whatever the subclass wants to add. * * Subclasses _shouldn't_ need to use this. If you need to use this, p
packages/base-driver/lib/basedriver/driver.ts:447
Function
_displayNormalListOutput
* Display normal formatted output
packages/appium/lib/cli/extension-command.ts:1094
Function
_doctor
* Runs doctor checks for the given extension. * * @returns The amount of Doctor checks that were * successfully loaded and executed for the g
packages/appium/lib/cli/extension-command.ts:640
Function
_findCompatibleExtVersion
* Finds the latest extension version compatible with the currently installed server. * If a specific version is requested, only that one is checked
packages/appium/lib/cli/extension-command.ts:1233
Function
_findLatestCompatibleExtVersion
* Retrieves all published extension versions, checks the latest non-prerelease version * of each major extension version for server compatibility,
packages/appium/lib/cli/extension-command.ts:1294
Function
_formatExtensionLine
* Format a single extension line for display
packages/appium/lib/cli/extension-command.ts:1106
Function
_formatIncompatibleUpdateMsg
( ext: string, {version, serverRange}: {version: string; serverRange: string}, )
packages/appium/lib/cli/extension-command.ts:832
Function
_formatInstallText
* Format installation status text
packages/appium/lib/cli/extension-command.ts:1119
Function
_formatUpdateText
* Format update information text
packages/appium/lib/cli/extension-command.ts:1151
Function
_getRepositoryUrl
* Get repository URL from package data
packages/appium/lib/cli/extension-command.ts:1172
Function
_getRepositoryUrlFromInstalled
* Get repository URL from installed extension's package.json
packages/appium/lib/cli/extension-command.ts:1185
Function
_getRepositoryUrlFromNpm
* Get repository URL from npm for a package name
packages/appium/lib/cli/extension-command.ts:1208
Function
_install
* Build the initial list data structure from installed and known extensions
packages/appium/lib/cli/extension-command.ts:295
Method
_read
()
packages/support/lib/internal/walker.ts:118
Function
_readExtensionSchema
( appiumHome: string, extType: E, extName: string, extManifest: ExtManifestWithSchema<E>, )
packages/appium/lib/extension/extension-config.ts:108
Function
_readPkgJson
( cwd: string, normalize?: boolean, )
packages/docutils/lib/fs.ts:91
Function
_resolveExtension
(extName: ExtName<ExtType>)
packages/appium/lib/extension/extension-config.ts:568
Function
_resolveExtensionName
* Resolves an installed npm package name to its extension name, preferring an exact * extension name match. Leaves unknown names unchanged for the
packages/appium/lib/cli/extension-command.ts:282
Function
_run
* Runs a script cached inside the `scripts` field under `appium` * inside of the extension's `package.json` file. Will throw * an error if the d
packages/appium/lib/cli/extension-command.ts:725
Function
_runAppium
(appiumHome: string, args: CliExtArgs | CliArgs)
packages/appium/test/e2e/e2e-helpers.ts:134
Function
_runAppiumJson
(appiumHome: string, args: CliExtArgs | CliArgs)
packages/appium/test/e2e/e2e-helpers.ts:160
Function
_runAppiumRaw
( appiumHome: string, args: CliExtArgs | CliArgs, opts: {env?: Record<string, string>}, )
packages/appium/test/e2e/e2e-helpers.ts:141
Function
_runUnbuffered
* Just wraps {@linkcode child_process.spawn} with some default options * * @param cwd - CWD * @param script - Path to script * @param args
packages/appium/lib/cli/extension-command.ts:972
Function
_uninstall
* Uninstall an extension. * * First tries to do this via `npm uninstall`, but if that fails, just `rm -rf`'s the extension dir. * * Will o
packages/appium/lib/cli/extension-command.ts:462
Function
_update
* Attempt to update one or more drivers using NPM
packages/appium/lib/cli/extension-command.ts:484
Function
_validate
* Validates all entries in `exts`, records a summary (see {@linkcode ExtensionConfig.printValidationSummary}), * and removes keys that have blockin
packages/appium/lib/extension/extension-config.ts:367
Method
_validator
* The validator for the currently configured rules, or `undefined` if there are none
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:386
Function
_warnIfServerIncompatible
* Warns (never throws) if the installed server does not satisfy the range declared by the extension. * Used for sources that cannot be checked befo
packages/appium/lib/cli/extension-command.ts:847
Method
_write
(chunk: unknown, encoding: BufferEncoding, callback: (error?: Error | null) => void)
packages/support/lib/internal/terminal.ts:55
Method
activateApp
* Launch an app * * @param appId - the package or bundle ID of the application * @param options - driver-specific launch options
packages/types/lib/commands/appium.ts:28
Method
active
* Get the active element * @see {@link https://w3c.github.io/webdriver/#get-active-element} * * @returns The JSON object encapsulating the ac
packages/types/lib/commands/webdriver.ts:168
Method
addArgSpecs
(schema: Record<string, any>, extType?: ExtensionType, extName?: string)
packages/appium/lib/schema/schema.ts:151
Method
addAuthCredential
* Inject a public key credential source into a virtual authenticator * @see {@link https://www.w3.org/TR/webauthn-2/#sctn-automation-add-credential
packages/types/lib/commands/other-protocols.ts:272
Function
addExtension
* Records a new installed extension in the manifest and optionally persists immediately. * * @param extName - Manifest key for the extension
packages/appium/lib/extension/extension-config.ts:220
Method
addLevel
(level: string, n: number, style?: StyleObject, disp?: string)
packages/logger/lib/log.ts:191
Method
addManagedDriver
* Register a driver managed by this driver (e.g. a driver spun up internally to handle a * sub-part of the automation), so that it can receive sett
packages/base-driver/lib/basedriver/core.ts:381
Function
addTestRoutes
(app: Express)
packages/http-server/test/e2e/express/browser-origin.e2e.spec.ts:17
Method
addVirtualAuthenticator
* Add a virtual authenticator to a browser * @see {@link https://www.w3.org/TR/webauthn-2/#sctn-automation-add-virtual-authenticator} * * @pa
packages/types/lib/commands/other-protocols.ts:243
Function
addWebSocketHandler
( this: AppiumServer, handlerPathname: string, handlerServer: WSServer, )
packages/http-server/lib/websocket.ts:8
Function
addWebSocketHandler
(path: string, handler: WSServer)
packages/storage-plugin/test/unit/plugin.spec.ts:318
Function
allowCrossDomain
(req: Request, res: Response, next: NextFunction)
packages/http-server/lib/middleware/allow-cross-domain.ts:7
Function
android
* Normalizes Android-specific attributes in source XML. * @param nodeObj Node object to transform. * @param metadata Transformation metadata.
packages/universal-xml-plugin/lib/transformers.ts:23
Function
appiumHome
`APPIUM_HOME` directory this config is tied to.
packages/appium/lib/extension/extension-config.ts:90
Method
appiumHome
`APPIUM_HOME` directory this manifest is tied to.
packages/appium/lib/extension/manifest/manifest.ts:56
Function
apply
(shadowTarget: HostTarget, thisArg: unknown, argArray: unknown[])
packages/execute-driver-plugin/lib/vm-host-binding.ts:529
Method
applyContainer
( image: Buffer, scale?: ScreenshotScale, source?: {img: Sharp; size: Size}, )
packages/images-plugin/lib/finder.ts:198
Function
applyVm
(safeThis: unknown, safeArgs: unknown[])
packages/execute-driver-plugin/lib/vm-host-binding.ts:191
Function
archImpl
(this: System)
packages/support/lib/system.ts:57
Method
asMilliSeconds
* Get the duration converted into milliseconds * * @returns {number} The duration as milliseconds
packages/support/lib/timing.ts:31
Method
asNanoSeconds
* Get the duration as nanoseconds * * @returns {number} The duration as nanoseconds
packages/support/lib/timing.ts:22
Method
asSeconds
* Get the duration converted into seconds * * @returns {number} The duration fas seconds
packages/support/lib/timing.ts:40
Function
ascending
(a: string, b: string)
packages/support/test/unit/internal/walker.spec.ts:114
Function
assertAlert
(this: FakeDriver)
packages/fake-driver/lib/commands/alert.ts:13
Method
assertFeatureEnabled
* Assert that a given feature is enabled and throw a helpful error if it's * not * * @param name - name of feature/command
packages/base-driver/lib/basedriver/core.ts:276
← previous
next →
1,301–1,400 of 2,268, ranked by callers