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
↓ 154 callers
Method
push
* Takes the next piece of the content, which is verified and either kept in memory or streamed to the file. * * @throws {Error} If the content i
packages/support/lib/internal/zip-entry-sink.ts:154
↓ 115 callers
Method
info
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:55
↓ 100 callers
Method
ok
A "success" message
packages/support/lib/console.ts:147
↓ 79 callers
Method
error
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:60
↓ 75 callers
Method
debug
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:54
↓ 72 callers
Method
parse
Validate and merge all candidates before selecting the first match.
packages/base-driver/lib/basedriver/capabilities.ts:341
↓ 67 callers
Method
get
()
packages/strongbox/lib/base-item.ts:47
↓ 61 callers
Method
warn
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:59
↓ 57 callers
Method
set
(key: K, value: V)
packages/appium/lib/schema/schema.ts:29
↓ 56 callers
Method
rimraf
(path: PathLike)
packages/support/lib/internal/fs-like.ts:25
↓ 54 callers
Method
all
(route: string, handler: (req: unknown, res: MockResponse) => void)
packages/fake-plugin/test/unit/plugin.spec.ts:19
↓ 53 callers
Method
isEmpty
Whether the list contains no rules at all
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:75
↓ 49 callers
Method
exists
(path: PathLike)
packages/support/lib/internal/fs-like.ts:24
↓ 39 callers
Method
toString
()
packages/support/lib/timing.ts:100
↓ 37 callers
Method
w3cStatus
()
packages/base-driver/lib/protocol/errors.ts:268
↓ 34 callers
Method
delete
()
packages/opencv/lib/autorelease-pool.ts:2
↓ 34 callers
Method
emit
(_evt: string, _ws: unknown, _req: unknown)
packages/http-server/test/unit/express/websocket-upgrade.spec.ts:26
↓ 32 callers
Function
next
()
packages/appium/lib/bidi/commands.ts:229
↓ 31 callers
Method
add
(opts: ItemOptions, source: Stream | WebSocket)
packages/storage-plugin/lib/storage.ts:48
↓ 29 callers
Method
log
* Creates a log message * @param level * @param prefix * @param message message of the log which will be formatted using utils.format() *
packages/logger/lib/types.ts:45
↓ 28 callers
Method
mkdir
(path: string, opts?: MakeDirectoryOptions)
packages/support/lib/internal/fs-like.ts:11
↓ 27 callers
Method
close
()
packages/types/lib/server.ts:23
↓ 26 callers
Method
write
* Writes value * @param value New value
packages/strongbox/lib/index.ts:59
↓ 25 callers
Method
close
(fd: number)
packages/support/lib/internal/fs-like.ts:18
↓ 21 callers
Method
send
(data: string | Buffer, _options: unknown, callback: () => void)
packages/appium/test/unit/bidi/events.spec.ts:19
↓ 20 callers
Method
exec
* Execute `npm` with given args. * * If the process exits with a nonzero code, the contents of `STDOUT` and `STDERR` will be in the * `messag
packages/appium/lib/utils/npm.ts:59
↓ 19 callers
Method
deleteSession
* Stop an automation session * @see {@link https://w3c.github.io/webdriver/#delete-session} * * @param sessionId - the id of the session that
packages/types/lib/commands/basedriver.ts:340
↓ 18 callers
Function
getResponseForW3CError
(err: any)
packages/base-driver/lib/protocol/errors.ts:912
↓ 18 callers
Method
json
* Writes to `STDOUT`. Must be stringifyable. * * You probably don't want to call this more than once before exiting (since that will output inv
packages/support/lib/console.ts:137
↓ 16 callers
Function
isWindows
()
packages/support/lib/internal/platform.ts:6
↓ 15 callers
Method
end
()
packages/support/test/helpers.ts:18
↓ 14 callers
Method
clear
* Deletes the item.
packages/strongbox/lib/index.ts:50
↓ 14 callers
Method
create
(manifest: Manifest)
packages/appium/test/unit/extension/plugin-config.spec.ts:26
↓ 14 callers
Method
executeCommand
* Execute a driver (WebDriver-protocol) command by its name as defined in the routes file * * @param cmd - the name of the command * @param a
packages/types/lib/driver.ts:207
↓ 14 callers
Method
find
* Perform lookup of image element(s) inside of the current element * * @param multiple - Whether to lookup multiple elements * @param driver
packages/images-plugin/lib/image-element.ts:264
↓ 14 callers
Method
isWindows
()
packages/support/lib/system.ts:50
↓ 14 callers
Method
reset
* Resets this instance to initial state.
packages/appium/lib/schema/schema.ts:204
↓ 14 callers
Method
start
* Start the timer * * @return {Timer} The current instance, for chaining
packages/support/lib/timing.ts:65
↓ 14 callers
Method
toString
()
packages/appium/lib/schema/arg-spec.ts:126
↓ 14 callers
Method
update
(newSettings: T)
packages/types/lib/driver.ts:28
↓ 13 callers
Function
getLogger
(tag: string, parent = rootLogger)
packages/docutils/lib/logger.ts:54
↓ 13 callers
Function
getTestPort
()
packages/driver-test-support/lib/helpers.ts:108
↓ 13 callers
Function
performApiRequest
(suffix = '', opts = {})
scripts/crowdin-common.mjs:54
↓ 12 callers
Method
clearNewCommandTimeout
()
packages/types/lib/driver.ts:132
↓ 12 callers
Function
resolveFixture
(filename: string, ...pathParts: string[])
packages/appium/test/helpers.ts:49
↓ 11 callers
Method
createSession
* Start a new automation session * @see {@link https://w3c.github.io/webdriver/#new-session} * * @param w3cCapabilities - the new session cap
packages/types/lib/commands/basedriver.ts:332
↓ 11 callers
Method
debug
(message: string)
packages/support/lib/internal/zip-stream-parser.ts:63
↓ 11 callers
Method
getDuration
* Get the duration since the timer was started * * @return {Duration} the duration
packages/support/lib/timing.ts:78
↓ 11 callers
Method
getInstance
(manifest: Manifest)
packages/appium/test/unit/extension/plugin-config.spec.ts:27
↓ 11 callers
Method
log
* Creates a log message * @param level * @param prefix * @param message message of the log which will be formatted using utils.format() *
packages/logger/lib/log.ts:210
↓ 11 callers
Function
resolveHostTarget
* Looks up the real host target for a proxy's shadow target.
packages/execute-driver-plugin/lib/vm-host-binding.ts:520
↓ 11 callers
Function
runTrapSafely
* Executes a trap operation and ensures any thrown host-realm error is wrapped via * {@link wrapIfNeeded} before crossing into the VM catch block.
packages/execute-driver-plugin/lib/vm-host-binding.ts:265
↓ 10 callers
Function
buildZip
(entries: BuildEntry[], opts: BuildOptions = {})
packages/support/test/zip-builder.ts:52
↓ 10 callers
Function
wrapIfNeeded
* Recursively wraps objects and functions; leaves primitives and VM-originated values unchanged; * routes host Promises to the thenable facade. * *
packages/execute-driver-plugin/lib/vm-host-binding.ts:724
↓ 9 callers
Method
click
* Click/tap an element * @see {@link https://w3c.github.io/webdriver/#element-click} * * @param elementId - the id of the element
packages/types/lib/commands/webdriver.ts:299
↓ 9 callers
Method
consume
Takes the next `count` buffered bytes. Use `ensure` first.
packages/support/lib/internal/zip-stream-parser.ts:203
↓ 9 callers
Method
fail
* If a thing like `err` has not already been emitted, emit * {@linkcode DocutilsValidator.FAILURE}. * @param err A validation error * @return
packages/docutils/lib/validate.ts:187
↓ 9 callers
Function
fn
()
packages/support/test/unit/util.spec.ts:611
↓ 9 callers
Function
getLogger
(driver: Core<any>, sessionId: string | null = null)
packages/base-driver/lib/protocol/session.ts:50
↓ 9 callers
Function
installLocalExtension
( appiumHome: string, type: ExtType, pathToExtension: string, )
packages/appium/test/e2e/e2e-helpers.ts:172
↓ 9 callers
Function
isOurProxy
(value: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:57
↓ 9 callers
Function
routeConfiguringFunction
(driver: Core<any>)
packages/base-driver/lib/protocol/route-handler.ts:37
↓ 9 callers
Function
server
(opts: ServerOpts)
packages/http-server/lib/server.ts:98
↓ 9 callers
Function
setup
()
packages/http-server/test/helpers.ts:24
↓ 9 callers
Function
teardown
()
packages/http-server/test/helpers.ts:33
↓ 9 callers
Method
warn
(message: string)
packages/support/lib/internal/zip-stream-parser.ts:62
↓ 8 callers
Function
isBlockedPrototypeKey
Property keys that must never resolve through the real target (VM escape vectors).
packages/execute-driver-plugin/lib/vm-host-binding.ts:252
↓ 8 callers
Method
read
* Reads value
packages/strongbox/lib/index.ts:54
↓ 8 callers
Function
resolveFrom
(fromDirectory: string, moduleId: string)
packages/appium/lib/utils/npm.ts:421
↓ 8 callers
Method
run
* Runs diagnostics, reports issues, attempts automatic fixes where supported, and returns an exit code. * * @returns {@link EXIT_CODE.SUCCESS} w
packages/appium/lib/doctor/doctor.ts:57
↓ 8 callers
Method
setExtension
* Stores a deep-cloned copy of extension metadata under the given type and name. * * @param extType - `"driver"` or `"plugin"` * @param extNa
packages/appium/lib/extension/manifest/manifest.ts:306
↓ 8 callers
Function
spinWith
(json: boolean, msg: string, fn: () => T | Promise<T>)
packages/appium/lib/cli/utils.ts:81
↓ 8 callers
Function
walk
(dir, ext)
scripts/crowdin-common.mjs:29
↓ 7 callers
Method
abort
Releases what an entry that failed has written
packages/support/lib/internal/zip-entry-sink.ts:223
↓ 7 callers
Method
assertDirUnchanged
* Remembered folders are not checked again when they are reused, so make sure that neither * the folder nor any of its parents was replaced (e.g. w
packages/support/lib/internal/zip-entry-writer.ts:465
↓ 7 callers
Method
errorWithException
* Logs given arguments at the error level and returns * the error object. * * @param {...any} args * @returns {Error}
packages/types/lib/logger.ts:57
↓ 7 callers
Method
execute
* Execute JavaScript (or some other kind of script) in the browser/app context * @see {@link https://w3c.github.io/webdriver/#execute-script} *
packages/types/lib/commands/webdriver.ts:328
↓ 7 callers
Method
fill
Appends the next source chunk to the unread bytes; false if the source is exhausted
packages/support/lib/internal/zip-stream-parser.ts:253
↓ 7 callers
Method
getPageSource
* Get the current page/app source as HTML/XML * @see {@link https://w3c.github.io/webdriver/#get-page-source} * * @returns The UI hierarchy i
packages/types/lib/commands/basedriver.ts:253
↓ 7 callers
Function
httpPost
( url: string, data?: unknown, options: Omit<HttpRequestOptions, 'method' | 'data'> = {}, )
packages/driver-test-support/lib/helpers.ts:37
↓ 7 callers
Function
inspect
(value: unknown)
packages/appium/lib/bootstrap/main-helpers.ts:25
↓ 7 callers
Function
isSubPath
(originalPath: string, root: string, forcePosix: boolean | null = null)
packages/support/lib/internal/sub-path.ts:12
↓ 7 callers
Function
kebabCase
(value: string)
packages/appium/lib/utils/object.ts:11
↓ 7 callers
Function
mkdir
* Like Node.js `fsPromises.mkdir()`, but will not reject if the directory already exists. * @see https://nodejs.org/api/fs.html#fspromisesmkdirpath
packages/support/lib/fs.ts:188
↓ 7 callers
Method
ok
* Emits a {@linkcode DocutilsValidator.SUCCESS} event * @param message Success message
packages/docutils/lib/validate.ts:198
↓ 7 callers
Function
runWithCommandTimeout
( driver: TimeoutDriver, command: () => Promise<T>, {restart = true}: {restart?: boolean | (() => boolea
packages/base-driver/lib/basedriver/command-timeout.ts:23
↓ 7 callers
Method
startNewCommandTimeout
* Start the timer for the New Command Timeout, which when it runs out, will stop the current * session
packages/types/lib/driver.ts:239
↓ 7 callers
Method
xpathQuery
(sel: string, ctx?: XMLDocument | null)
packages/fake-driver/lib/fake-app.ts:126
↓ 6 callers
Method
command
* Executes a WebDriver command and returns the unwrapped `value` field (or throws).
packages/base-driver/lib/wd-proxy/proxy.ts:285
↓ 6 callers
Method
decorate
* Wraps a message string in breathtaking fanciness * * Returns `undefined` if `msg` is `undefined`.
packages/support/lib/console.ts:120
↓ 6 callers
Function
deleteSession
(driver: Awaited<ReturnType<typeof wdio>>)
packages/fake-driver/test/helpers.ts:43
↓ 6 callers
Method
findElement
* Find a UI element given a locator strategy and a selector, erroring if it can't be found * @see {@link https://w3c.github.io/webdriver/#find-elem
packages/types/lib/commands/basedriver.ts:157
↓ 6 callers
Function
generateDriverLogPrefix
(obj: object | null)
packages/base-driver/lib/helpers/log-prefix.ts:9
↓ 6 callers
Method
getSettings
()
packages/types/lib/driver.ts:29
↓ 6 callers
Function
initSession
(w3cPrefixedCaps: StringRecord, wdioOpts: Partial<Parameters<typeof wdio>[0]> = {})
packages/fake-driver/test/helpers.ts:39
↓ 6 callers
Function
isErrorType
(err: any, type: Class<T>)
packages/base-driver/lib/protocol/errors.ts:881
↓ 6 callers
Function
isStandardCap
(cap: string)
packages/base-driver/lib/basedriver/capabilities.ts:147
↓ 6 callers
Function
markResponseEnvelope
(envelope: T)
packages/base-driver/lib/protocol/helpers.ts:55
↓ 6 callers
Method
pluginsForSession
* Plugin instances for a session id, or the shared sessionless list when `sessionId` is null. * Lazily builds sessionless instances on first use.
packages/appium/lib/appium.ts:559
↓ 6 callers
Function
recordVmValue
(value: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:109
next →
1–100 of 2,268, ranked by callers