MCPcopy Create free account

hub / github.com/appium/appium / functions

Functions2,268 in github.com/appium/appium

↓ 154 callersMethodpush
* 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 callersMethodinfo
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:55
↓ 100 callersMethodok
A "success" message
packages/support/lib/console.ts:147
↓ 79 callersMethoderror
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:60
↓ 75 callersMethoddebug
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:54
↓ 72 callersMethodparse
Validate and merge all candidates before selecting the first match.
packages/base-driver/lib/basedriver/capabilities.ts:341
↓ 67 callersMethodget
()
packages/strongbox/lib/base-item.ts:47
↓ 61 callersMethodwarn
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:59
↓ 57 callersMethodset
(key: K, value: V)
packages/appium/lib/schema/schema.ts:29
↓ 56 callersMethodrimraf
(path: PathLike)
packages/support/lib/internal/fs-like.ts:25
↓ 54 callersMethodall
(route: string, handler: (req: unknown, res: MockResponse) => void)
packages/fake-plugin/test/unit/plugin.spec.ts:19
↓ 53 callersMethodisEmpty
Whether the list contains no rules at all
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:75
↓ 49 callersMethodexists
(path: PathLike)
packages/support/lib/internal/fs-like.ts:24
↓ 39 callersMethodtoString
()
packages/support/lib/timing.ts:100
↓ 37 callersMethodw3cStatus
()
packages/base-driver/lib/protocol/errors.ts:268
↓ 34 callersMethoddelete
()
packages/opencv/lib/autorelease-pool.ts:2
↓ 34 callersMethodemit
(_evt: string, _ws: unknown, _req: unknown)
packages/http-server/test/unit/express/websocket-upgrade.spec.ts:26
↓ 32 callersFunctionnext
()
packages/appium/lib/bidi/commands.ts:229
↓ 31 callersMethodadd
(opts: ItemOptions, source: Stream | WebSocket)
packages/storage-plugin/lib/storage.ts:48
↓ 29 callersMethodlog
* 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 callersMethodmkdir
(path: string, opts?: MakeDirectoryOptions)
packages/support/lib/internal/fs-like.ts:11
↓ 27 callersMethodclose
()
packages/types/lib/server.ts:23
↓ 26 callersMethodwrite
* Writes value * @param value New value
packages/strongbox/lib/index.ts:59
↓ 25 callersMethodclose
(fd: number)
packages/support/lib/internal/fs-like.ts:18
↓ 21 callersMethodsend
(data: string | Buffer, _options: unknown, callback: () => void)
packages/appium/test/unit/bidi/events.spec.ts:19
↓ 20 callersMethodexec
* 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 callersMethoddeleteSession
* 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 callersFunctiongetResponseForW3CError
(err: any)
packages/base-driver/lib/protocol/errors.ts:912
↓ 18 callersMethodjson
* 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 callersFunctionisWindows
()
packages/support/lib/internal/platform.ts:6
↓ 15 callersMethodend
()
packages/support/test/helpers.ts:18
↓ 14 callersMethodclear
* Deletes the item.
packages/strongbox/lib/index.ts:50
↓ 14 callersMethodcreate
(manifest: Manifest)
packages/appium/test/unit/extension/plugin-config.spec.ts:26
↓ 14 callersMethodexecuteCommand
* 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 callersMethodfind
* 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 callersMethodisWindows
()
packages/support/lib/system.ts:50
↓ 14 callersMethodreset
* Resets this instance to initial state.
packages/appium/lib/schema/schema.ts:204
↓ 14 callersMethodstart
* Start the timer * * @return {Timer} The current instance, for chaining
packages/support/lib/timing.ts:65
↓ 14 callersMethodtoString
()
packages/appium/lib/schema/arg-spec.ts:126
↓ 14 callersMethodupdate
(newSettings: T)
packages/types/lib/driver.ts:28
↓ 13 callersFunctiongetLogger
(tag: string, parent = rootLogger)
packages/docutils/lib/logger.ts:54
↓ 13 callersFunctiongetTestPort
()
packages/driver-test-support/lib/helpers.ts:108
↓ 13 callersFunctionperformApiRequest
(suffix = '', opts = {})
scripts/crowdin-common.mjs:54
↓ 12 callersMethodclearNewCommandTimeout
()
packages/types/lib/driver.ts:132
↓ 12 callersFunctionresolveFixture
(filename: string, ...pathParts: string[])
packages/appium/test/helpers.ts:49
↓ 11 callersMethodcreateSession
* 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 callersMethoddebug
(message: string)
packages/support/lib/internal/zip-stream-parser.ts:63
↓ 11 callersMethodgetDuration
* Get the duration since the timer was started * * @return {Duration} the duration
packages/support/lib/timing.ts:78
↓ 11 callersMethodgetInstance
(manifest: Manifest)
packages/appium/test/unit/extension/plugin-config.spec.ts:27
↓ 11 callersMethodlog
* 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 callersFunctionresolveHostTarget
* Looks up the real host target for a proxy's shadow target.
packages/execute-driver-plugin/lib/vm-host-binding.ts:520
↓ 11 callersFunctionrunTrapSafely
* 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 callersFunctionbuildZip
(entries: BuildEntry[], opts: BuildOptions = {})
packages/support/test/zip-builder.ts:52
↓ 10 callersFunctionwrapIfNeeded
* 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 callersMethodclick
* 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 callersMethodconsume
Takes the next `count` buffered bytes. Use `ensure` first.
packages/support/lib/internal/zip-stream-parser.ts:203
↓ 9 callersMethodfail
* 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 callersFunctionfn
()
packages/support/test/unit/util.spec.ts:611
↓ 9 callersFunctiongetLogger
(driver: Core<any>, sessionId: string | null = null)
packages/base-driver/lib/protocol/session.ts:50
↓ 9 callersFunctioninstallLocalExtension
( appiumHome: string, type: ExtType, pathToExtension: string, )
packages/appium/test/e2e/e2e-helpers.ts:172
↓ 9 callersFunctionisOurProxy
(value: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:57
↓ 9 callersFunctionrouteConfiguringFunction
(driver: Core<any>)
packages/base-driver/lib/protocol/route-handler.ts:37
↓ 9 callersFunctionserver
(opts: ServerOpts)
packages/http-server/lib/server.ts:98
↓ 9 callersFunctionsetup
()
packages/http-server/test/helpers.ts:24
↓ 9 callersFunctionteardown
()
packages/http-server/test/helpers.ts:33
↓ 9 callersMethodwarn
(message: string)
packages/support/lib/internal/zip-stream-parser.ts:62
↓ 8 callersFunctionisBlockedPrototypeKey
Property keys that must never resolve through the real target (VM escape vectors).
packages/execute-driver-plugin/lib/vm-host-binding.ts:252
↓ 8 callersMethodread
* Reads value
packages/strongbox/lib/index.ts:54
↓ 8 callersFunctionresolveFrom
(fromDirectory: string, moduleId: string)
packages/appium/lib/utils/npm.ts:421
↓ 8 callersMethodrun
* 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 callersMethodsetExtension
* 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 callersFunctionspinWith
(json: boolean, msg: string, fn: () => T | Promise<T>)
packages/appium/lib/cli/utils.ts:81
↓ 8 callersFunctionwalk
(dir, ext)
scripts/crowdin-common.mjs:29
↓ 7 callersMethodabort
Releases what an entry that failed has written
packages/support/lib/internal/zip-entry-sink.ts:223
↓ 7 callersMethodassertDirUnchanged
* 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 callersMethoderrorWithException
* Logs given arguments at the error level and returns * the error object. * * @param {...any} args * @returns {Error}
packages/types/lib/logger.ts:57
↓ 7 callersMethodexecute
* 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 callersMethodfill
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 callersMethodgetPageSource
* 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 callersFunctionhttpPost
( url: string, data?: unknown, options: Omit<HttpRequestOptions, 'method' | 'data'> = {}, )
packages/driver-test-support/lib/helpers.ts:37
↓ 7 callersFunctioninspect
(value: unknown)
packages/appium/lib/bootstrap/main-helpers.ts:25
↓ 7 callersFunctionisSubPath
(originalPath: string, root: string, forcePosix: boolean | null = null)
packages/support/lib/internal/sub-path.ts:12
↓ 7 callersFunctionkebabCase
(value: string)
packages/appium/lib/utils/object.ts:11
↓ 7 callersFunctionmkdir
* 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 callersMethodok
* Emits a {@linkcode DocutilsValidator.SUCCESS} event * @param message Success message
packages/docutils/lib/validate.ts:198
↓ 7 callersFunctionrunWithCommandTimeout
( driver: TimeoutDriver, command: () => Promise<T>, {restart = true}: {restart?: boolean | (() => boolea
packages/base-driver/lib/basedriver/command-timeout.ts:23
↓ 7 callersMethodstartNewCommandTimeout
* 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 callersMethodxpathQuery
(sel: string, ctx?: XMLDocument | null)
packages/fake-driver/lib/fake-app.ts:126
↓ 6 callersMethodcommand
* Executes a WebDriver command and returns the unwrapped `value` field (or throws).
packages/base-driver/lib/wd-proxy/proxy.ts:285
↓ 6 callersMethoddecorate
* Wraps a message string in breathtaking fanciness * * Returns `undefined` if `msg` is `undefined`.
packages/support/lib/console.ts:120
↓ 6 callersFunctiondeleteSession
(driver: Awaited<ReturnType<typeof wdio>>)
packages/fake-driver/test/helpers.ts:43
↓ 6 callersMethodfindElement
* 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 callersFunctiongenerateDriverLogPrefix
(obj: object | null)
packages/base-driver/lib/helpers/log-prefix.ts:9
↓ 6 callersMethodgetSettings
()
packages/types/lib/driver.ts:29
↓ 6 callersFunctioninitSession
(w3cPrefixedCaps: StringRecord, wdioOpts: Partial<Parameters<typeof wdio>[0]> = {})
packages/fake-driver/test/helpers.ts:39
↓ 6 callersFunctionisErrorType
(err: any, type: Class<T>)
packages/base-driver/lib/protocol/errors.ts:881
↓ 6 callersFunctionisStandardCap
(cap: string)
packages/base-driver/lib/basedriver/capabilities.ts:147
↓ 6 callersFunctionmarkResponseEnvelope
(envelope: T)
packages/base-driver/lib/protocol/helpers.ts:55
↓ 6 callersMethodpluginsForSession
* 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 callersFunctionrecordVmValue
(value: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:109
next →1–100 of 2,268, ranked by callers