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
↓ 3 callers
Method
assertRequestAllowed
* Validates the URL of a download request against the static rules and makes sure the rules * can actually be enforced for the request (see {@linkc
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:350
↓ 3 callers
Function
assertSupportedEntry
(fileName: string, flags: number, method: number)
packages/support/lib/internal/zip-entry-sink.ts:69
↓ 3 callers
Function
attach
(target: AppiumDriver)
packages/appium/test/unit/bidi/flow-control.spec.ts:57
↓ 3 callers
Method
bidiUnsubscribe
(events?: string[], contexts?: string[], subscriptions?: string[])
packages/types/lib/commands/basedriver.ts:8
↓ 3 callers
Function
buildSite
({ mkdocsYml: mkDocsYmlPath, siteDir, cwd = process.cwd(), serve = false, serveOpts, execOpts, }:
packages/docutils/lib/builder/site.ts:74
↓ 3 callers
Function
calculateFileIntegrity
(filePath: string)
packages/base-driver/lib/basedriver/helpers/app-cache.ts:489
↓ 3 callers
Function
camelCase
(value: string)
packages/appium/lib/utils/object.ts:21
↓ 3 callers
Method
canProxy
(sessionId?: string)
packages/types/lib/driver.ts:128
↓ 3 callers
Method
checkBuffer
* Verifies the send buffer limits * * @returns false if the connection has been (or is being) terminated
packages/appium/lib/bidi/flow-control.ts:149
↓ 3 callers
Function
checkMissingPaths
( opts: T, group: string, argv: Record<string, unknown>, )
packages/docutils/lib/cli/check.ts:40
↓ 3 callers
Method
configure
* Replaces the process-wide rules. Empty or absent rules lift all restrictions. * * @throws {TypeError} If any rule is invalid
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:318
↓ 3 callers
Function
configureApp
( app: string, options: string | string[] | ConfigureAppOptions = {} as ConfigureAppOptions, )
packages/base-driver/lib/basedriver/helpers/app-cache.ts:98
↓ 3 callers
Function
configureServer
(opts: ConfigureServerOpts)
packages/http-server/lib/server.ts:185
↓ 3 callers
Function
createOpenReadStream
(zipfile: yauzl.ZipFile)
packages/support/lib/internal/yauzl-helpers.ts:18
↓ 3 callers
Method
createPluginInstances
* One instance per registered plugin class. `driverId` becomes the plugin log prefix segment * when tied to a session driver; use `null` for sessio
packages/appium/lib/appium.ts:590
↓ 3 callers
Function
createServer
(app: Express, cliArgs?: Partial<ServerArgs>)
packages/http-server/lib/server.ts:256
↓ 3 callers
Function
cvMatFromImage
(img: Buffer)
packages/opencv/lib/index.ts:571
↓ 3 callers
Function
cvMatToPng
(mat: any)
packages/opencv/lib/index.ts:559
↓ 3 callers
Method
deleteAllSessions
* Ends every active session, either by normal `deleteSession` or by `startUnexpectedShutdown` * when `force` is true, and waits for the sessions th
packages/appium/lib/appium.ts:524
↓ 3 callers
Method
detectNaming
* Finds out which spellings of a name the filesystem of the root treats as the same one, so that * {@link pathKey} neither merges distinct files no
packages/support/lib/internal/zip-entry-writer.ts:265
↓ 3 callers
Method
emitLog
(m: MessageObject)
packages/logger/lib/log.ts:283
↓ 3 callers
Method
equals
(other: FakeElement)
packages/fake-driver/lib/fake-element.ts:100
↓ 3 callers
Method
executeMethod
* Call an `Execute Method` by its name with the given arguments. This method will check that the * driver has registered the method matching the na
packages/types/lib/commands/basedriver.ts:140
↓ 3 callers
Function
extensionCommandArgs
* Return the command config for driver or plugin.
packages/appium/lib/cli/setup-command.ts:219
↓ 3 callers
Method
extensionDesc
( driverName: ExtName<DriverType>, {version, automationName}: ExtManifest<DriverType>, )
packages/appium/lib/extension/driver-config.ts:45
↓ 3 callers
Method
extract
Extracts all entries into the destination folder. Nothing touches it after the returned promise settles.
packages/support/lib/internal/zip-extractor.ts:71
↓ 3 callers
Function
fetchInterfaces
(family: 4 | 6 | null = null)
packages/http-server/lib/network.ts:15
↓ 3 callers
Function
finishBidiProxyCommands
Release one activity guard per response, or every guard on a terminated connection.
packages/appium/lib/bidi/commands.ts:535
↓ 3 callers
Method
foldKey
(key: string)
packages/support/lib/internal/zip-entry-writer.ts:501
↓ 3 callers
Function
formatErrors
( errors: ErrorObject[] = [], config: NormalizedAppiumConfig | Record<string, unknown> | string | undefine
packages/appium/lib/schema/format-errors.ts:39
↓ 3 callers
Function
formatLog
(args: ParsedArgs, targetConsole: boolean)
packages/appium/lib/logsink.ts:270
↓ 3 callers
Method
getAttribute
* Retrieve the value of an element's attribute * @see {@link https://w3c.github.io/webdriver/#get-element-attribute} * * @param name - the at
packages/types/lib/commands/webdriver.ts:199
↓ 3 callers
Method
getConfigProblems
(extManifest: ExtManifest<DriverType>, extName: string)
packages/appium/lib/extension/driver-config.ts:88
↓ 3 callers
Function
getDynamicLogger
( testingMode: boolean, forceLogs: boolean, prefix: string | (() => string) | null = null, )
packages/support/test/unit/logger/helpers.ts:15
↓ 3 callers
Method
getExtractedMode
(entryMode: number, isDir: boolean)
packages/support/lib/internal/zip-entry-writer.ts:540
↓ 3 callers
Function
getGitRev
(useGithubApiFallback = false)
packages/appium/lib/helpers/build.ts:27
↓ 3 callers
Method
getLiveItem
* Returns a live {@linkcode Item} or removes a stale {@linkcode WeakRef} from {@linkcode Strongbox.items}.
packages/strongbox/lib/index.ts:367
↓ 3 callers
Method
getMessage
(topic: string)
packages/types/lib/ipc.ts:68
↓ 3 callers
Function
getNodeAttrVal
(node: Element, attr: string)
packages/universal-xml-plugin/lib/xpath.ts:82
↓ 3 callers
Function
getNonDefaultServerArgs
(parsedArgs: Args)
packages/appium/lib/bootstrap/startup-config.ts:19
↓ 3 callers
Method
getPackageInfo
* Fetches package metadata from the npm registry via `npm info`. * * @param pkg - Npm package spec to query * @param entries - Field names to
packages/appium/lib/utils/npm.ts:272
↓ 3 callers
Function
getParser
(debug = false)
packages/appium/lib/cli/parser.ts:358
↓ 3 callers
Function
getPath
(obj: unknown, path: string, defaultValue?: unknown)
packages/appium/lib/utils/object.ts:114
↓ 3 callers
Function
getPresetDrivers
(presetName: Exclude<CliCommandSetupSubcommand, 'reset'>)
packages/appium/lib/cli/setup-command.ts:48
↓ 3 callers
Method
getProxyForUrl
* Returns the URL of the proxy a request to the given URL would be routed through, * or an empty string if the request would be sent directly.
packages/base-driver/lib/basedriver/helpers/env-proxy.ts:19
↓ 3 callers
Function
getRemoteExtensionVersionReq
* Fetches the remote extension Appium server version requirements * * @param pkgName Extension name * @param [pkgVer] Extension version (if not pro
packages/appium/lib/cli/extension-command.ts:1447
↓ 3 callers
Method
getSchema
* Returns schema by ID (default: base Appium schema).
packages/appium/lib/schema/schema.ts:344
↓ 3 callers
Method
getSize
()
packages/fake-driver/lib/fake-element.ts:84
↓ 3 callers
Function
getSubscriptions
(driver: object)
packages/base-driver/lib/basedriver/commands/bidi.ts:146
↓ 3 callers
Function
getTestPort
()
packages/appium/test/helpers.ts:40
↓ 3 callers
Method
getUrlForProxy
* Builds a full downstream URL (including base path and session) for a given upstream URL.
packages/base-driver/lib/wd-proxy/proxy.ts:123
↓ 3 callers
Function
hasRunningCommands
(driver: object)
packages/base-driver/lib/basedriver/command-timeout.ts:15
↓ 3 callers
Function
highlightRegion
(mat: any, region: Rect)
packages/opencv/lib/index.ts:536
↓ 3 callers
Method
http
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:57
↓ 3 callers
Function
httpRequest
* A minimal `fetch`-based HTTP test client with axios-like ergonomics: * a `{status, data, headers}` result (JSON auto-parsed), and throw-by-default
packages/driver-test-support/lib/helpers.ts:60
↓ 3 callers
Function
installDrivers
* Install the given driver name. It skips the installation if the given driver name was already installed.
packages/appium/lib/cli/setup-command.ts:162
↓ 3 callers
Function
isExtension
(value: unknown)
packages/appium/lib/extension/manifest/manifest.ts:405
↓ 3 callers
Method
isFinalized
* Returns `true` if this instance has been finalized.
packages/appium/lib/schema/schema.ts:129
↓ 3 callers
Function
isProtocolResponseEnvelope
(value: unknown)
packages/base-driver/lib/protocol/helpers.ts:77
↓ 3 callers
Function
isVmRealmValue
(value: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:61
↓ 3 callers
Method
list
()
packages/storage-plugin/lib/storage.ts:32
↓ 3 callers
Function
listFiles
* @returns {Promise<Record<string, any>[]>}
scripts/crowdin-update-docs-resources.mjs:82
↓ 3 callers
Function
makeArgs
( requestParams: Record<string, string | string[] | undefined>, jsonObj: any, payloadParams: PayloadPara
packages/base-driver/lib/protocol/params.ts:111
↓ 3 callers
Function
next
()
packages/images-plugin/test/unit/plugin.spec.ts:20
↓ 3 callers
Function
next
()
packages/base-driver/test/unit/basedriver/extension-core.spec.ts:72
↓ 3 callers
Function
normalizeConcurrency
(value?: number)
packages/support/lib/internal/zip-entry-sink.ts:112
↓ 3 callers
Function
normalizeHostname
(hostname: string)
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:444
↓ 3 callers
Function
omitKeys
(obj: T, keys: readonly string[])
packages/base-driver/lib/utils.ts:40
↓ 3 callers
Method
openPrepared
* Opens a prepared file for writing. Existing files are replaced, but never through a link. * * @throws {Error} If the destination is a symlink
packages/support/lib/internal/zip-entry-writer.ts:157
↓ 3 callers
Function
packageDidChange
(appiumHome: string)
packages/appium/lib/utils/package-changed.ts:14
↓ 3 callers
Method
parseArgs
* Parses CLI args and returns Appium's normalized argument object. * * If no explicit subcommand is provided, this injects `server`. * `parse
packages/appium/lib/cli/parser.ts:309
↓ 3 callers
Function
parseCaps
( unparsedCaps: W3CCapabilities<C>, constraints: C | undefined = {} as C, shouldValidateCaps: boolean |
packages/base-driver/lib/basedriver/capabilities.ts:222
↓ 3 callers
Function
parseCapsForInnerDriver
( w3cCapabilities: W3CCapabilities<C>, constraints: C = {} as C, defaultCapabilities: NSCapabilities<C>
packages/appium/lib/helpers/capability.ts:38
↓ 3 callers
Method
pause
Buffers subsequent messages instead of writing them, until {@linkcode Logger.resume} is called.
packages/logger/lib/types.ts:78
↓ 3 callers
Function
pickBy
( obj: T, predicate: (value: T[keyof T], key: keyof T) => boolean, )
packages/base-driver/lib/utils.ts:55
↓ 3 callers
Function
pluginE2EHarness
(opts: E2ESetupOpts)
packages/plugin-test-support/lib/harness.ts:34
↓ 3 callers
Function
postCommand
(path: string, body: unknown, sessionId = SESSION_ID)
packages/appium/test/e2e/navigation-proxy.e2e.spec.ts:177
↓ 3 callers
Method
prepareFile
* Verifies the destination folder of a file entry (creating it if needed). * Calls must not overlap, but the prepared files can be opened concurren
packages/support/lib/internal/zip-entry-writer.ts:145
↓ 3 callers
Method
proxy
* Proxies a raw WebDriver command to the downstream server.
packages/base-driver/lib/wd-proxy/proxy.ts:146
↓ 3 callers
Method
proxyActive
(sessionId?: string)
packages/types/lib/driver.ts:125
↓ 3 callers
Method
publishClockStatus
()
packages/fake-driver/lib/driver.ts:319
↓ 3 callers
Function
rankLevenshteinCandidates
( target: string, candidates: readonly string[], maxEditDistance: number = LEVENSHTEIN_SUGGESTION_MAX_ED
packages/base-driver/lib/helpers/levenshtein-match.ts:38
↓ 3 callers
Function
relative
(from: string, to?: string)
packages/docutils/lib/utils/path.ts:8
↓ 3 callers
Method
release
Forgets the skipped events of the connection; called when the connection is gone
packages/appium/lib/bidi/flow-control.ts:323
↓ 3 callers
Function
requirePython
(pythonPath?: string)
packages/docutils/lib/fs.ts:211
↓ 3 callers
Function
restoreWriters
(writers: ReturnType<typeof setupWriters>)
packages/support/test/unit/logger/helpers.ts:27
↓ 3 callers
Method
resume
Stops buffering and flushes any messages queued since {@linkcode Logger.pause}, in order.
packages/logger/lib/types.ts:80
↓ 3 callers
Function
routeToCommandName
(endpoint: string, method?: HTTPMethod, basePath?: string)
packages/base-driver/lib/protocol/routes/index.ts:48
↓ 3 callers
Function
runQuery
(query: string, xmlStr: string)
packages/universal-xml-plugin/lib/xpath.ts:14
↓ 3 callers
Function
runWithProxyReq
(req: Request, fn: () => Promise<T>)
packages/base-driver/lib/protocol/proxy-context.ts:12
↓ 3 callers
Method
sessionExists
(sessionId?: string)
packages/types/lib/driver.ts:120
↓ 3 callers
Method
setAttr
(k: string, v: string)
packages/fake-driver/lib/fake-element.ts:53
↓ 3 callers
Method
setNewCommandTimeout
* Set the new command timeout * * @param ms - the timeout in ms
packages/types/lib/commands/basedriver.ts:50
↓ 3 callers
Method
setValue
* Send keystrokes to an element (or otherwise set its value) * @see {@link https://w3c.github.io/webdriver/#element-send-keys} * * @param tex
packages/types/lib/commands/webdriver.ts:316
↓ 3 callers
Function
setupWriters
()
packages/support/test/unit/logger/helpers.ts:7
↓ 3 callers
Method
silly
* @param prefix * @param message message of the log which will be formatted using utils.format() * @param args additional arguments appended to
packages/logger/lib/types.ts:52
↓ 3 callers
Function
source
()
packages/support/test/e2e/zip-stream.e2e.spec.ts:93
↓ 3 callers
Function
stripColorCodes
(text: string)
packages/appium/lib/logsink.ts:324
↓ 3 callers
Method
submit
* Starts the job as soon as there is capacity. Jobs with the same key never overlap. * * @param key Identifies the resource the job touches *
packages/support/lib/internal/write-queue.ts:40
↓ 3 callers
Method
subscriptionExists
(topic: string, subscriber: string)
packages/base-driver/lib/basedriver/ipc.ts:194
← previous
next →
201–300 of 2,268, ranked by callers