MCPcopy Create free account

hub / github.com/appium/appium / functions

Functions2,268 in github.com/appium/appium

↓ 1 callersFunctionsortPullRequests
* Sort PRs by author login (asc), then by merged date (asc) * @param {GitHubPullRequest[]} pullRequests * @returns {GitHubPullRequest[]}
scripts/github-contrib-stats.mjs:67
↓ 1 callersFunctionsource
(label: string)
packages/appium/test/e2e/npm-arguments.e2e.spec.ts:447
↓ 1 callersFunctionsource
()
packages/support/test/e2e/zip-stream-safety.e2e.spec.ts:244
↓ 1 callersMethodspill
(prepared: PreparedFile)
packages/support/lib/internal/zip-entry-sink.ts:245
↓ 1 callersFunctionsplitIntoChunks
(data: Buffer, chunkSize: number)
packages/support/test/unit/internal/base64-encode-stream.spec.ts:6
↓ 1 callersFunctionstalled
(t: any)
packages/support/test/e2e/zip-stream-safety.e2e.spec.ts:613
↓ 1 callersFunctionstartAbortedRequest
(key?: string)
packages/http-server/test/e2e/protocol/aborted-session.e2e.spec.ts:115
↓ 1 callersFunctionstartAppiumServer
()
packages/plugin-test-support/lib/harness.ts:115
↓ 1 callersMethodstartClock
()
packages/fake-plugin/lib/plugin.ts:127
↓ 1 callersMethodstartHttpServer
( serverOpts: ServerOpts, appiumDriver: ServerInitData['appiumDriver'], normalizedBasePath: string
packages/appium/lib/bootstrap/appium-main-runner.ts:84
↓ 1 callersMethodstartNewCommandTimeout
* Start the timer for the New Command Timeout, which when it runs out, will stop the current * session
packages/base-driver/lib/basedriver/driver.ts:238
↓ 1 callersFunctionstartServer
({ httpServer, port, hostname, keepAliveTimeout, requestTimeout, }: StartServerOpts)
packages/http-server/lib/server.ts:383
↓ 1 callersFunctionstartServer
(sessionDriver: Driver)
packages/http-server/test/e2e/protocol/aborted-session.e2e.spec.ts:56
↓ 1 callersFunctionstartTimeoutSession
(timeout?: number)
packages/fake-driver/test/e2e/driver.e2e.spec.ts:177
↓ 1 callersMethodstartUnexpectedShutdown
* Signify to any owning processes that this driver encountered an error which should cause the * session to terminate immediately (for example an u
packages/base-driver/lib/basedriver/driver.ts:220
↓ 1 callersFunctionstoreAppInCache
(appPathToCache: string)
packages/base-driver/lib/basedriver/helpers/app-cache.ts:253
↓ 1 callersMethodstreamEntry
(entry: yauzl.Entry, sink: EntrySink)
packages/support/lib/internal/zip-extractor.ts:191
↓ 1 callersMethodstreamFor
The stream a message at the given (already-resolved) severity should be written to.
packages/logger/lib/log.ts:278
↓ 1 callersFunctionstreamSupportsColor
(stream: {isTTY?: boolean})
packages/support/lib/internal/terminal.ts:31
↓ 1 callersFunctionstringifyYaml
(value: JsonValue)
packages/docutils/lib/fs.ts:40
↓ 1 callersFunctionstrip
(s: string)
packages/appium/test/e2e/e2e-helpers.ts:110
↓ 1 callersFunctionstripAnsi
(text: string)
packages/support/lib/internal/terminal.ts:10
↓ 1 callersFunctionstripColors
(text: string)
packages/support/lib/console.ts:57
↓ 1 callersFunctionstubRegistry
(reqs: Record<string, string>)
packages/appium/test/unit/extension/extension-command.spec.ts:293
↓ 1 callersFunctionstubStatsOf
* 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 callersFunctionsubSchemaToArgDef
(subSchema: AppiumJSONSchema, argSpec: ArgSpec)
packages/appium/lib/schema/cli-args.ts:90
↓ 1 callersFunctionswap
()
packages/support/test/e2e/zip-stream-safety.e2e.spec.ts:150
↓ 1 callersFunctionswapOnce
()
packages/support/test/e2e/zip.e2e.spec.ts:444
↓ 1 callersFunctionswitchToFrame
(id: number | null)
packages/fake-driver/test/e2e/context.e2e.spec.ts:10
↓ 1 callersFunctionsyncPackageJsonFields
* 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 callersFunctionsyncTranslatedConfig
* @param {string} srcDir * @param {string} dstDir * @param {string} dstLanguage * @returns {Promise<void>}
scripts/crowdin-sync-docs-translations.mjs:145
↓ 1 callersFunctionsyncTranslatedDocuments
* @param {string} srcDir * @param {string} dstDir * @returns {Promise<void>}
scripts/crowdin-sync-docs-translations.mjs:79
↓ 1 callersMethodtake
Copies the next `count` bytes, which may span several chunks of the source
packages/support/lib/internal/zip-stream-parser.ts:210
↓ 1 callersFunctiontakeOption
(name: string, fallback: number)
packages/support/test/bench/zip-stream.bench.ts:25
↓ 1 callersFunctiontestFileContents
()
packages/support/test/e2e/util.e2e.spec.ts:47
↓ 1 callersFunctionthrottledSource
(archive: string)
packages/support/test/bench/zip-stream.bench.ts:39
↓ 1 callersFunctionthrowIncompatible
()
packages/appium/lib/cli/extension-command.ts:1299
↓ 1 callersFunctionthrowsUncolored
Schema validation errors are colorized when stdout is a TTY; strip that before matching.
packages/appium/test/unit/parser.spec.ts:65
↓ 1 callersMethodtiming
(prefix: string, message: any, ...args: any[])
packages/logger/lib/types.ts:56
↓ 1 callersFunctiontoArray
(x: T | T[])
packages/base-driver/lib/protocol/errors.ts:776
↓ 1 callersFunctiontoBiDiCommandItemParam
(x: any, isRequired: boolean)
packages/appium/lib/inspector-commands.ts:139
↓ 1 callersFunctiontoBiDiCommandParams
(params: BidiMethodParams | undefined)
packages/appium/lib/inspector-commands.ts:134
↓ 1 callersFunctiontoBiDiCommandsMap
( baseModuleMap: BidiModuleMap, driverModuleMap: BidiModuleMap, pluginModuleMaps: Record<string, BidiMod
packages/appium/lib/inspector-commands.ts:129
↓ 1 callersFunctiontoBufferIfBinaryLike
(data: unknown)
packages/support/lib/internal/plist-buffers.ts:2
↓ 1 callersFunctiontoCacheKey
* 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 callersFunctiontoCommandNameCacheKey
(endpoint: string, method?: string)
packages/base-driver/lib/protocol/routes/index.ts:93
↓ 1 callersFunctiontoCpOptions
(opts: CopyFileOptions = {})
packages/support/lib/fs.ts:114
↓ 1 callersFunctiontoExactMatchPattern
* 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 callersFunctiontoHash
* @param {string} str * @returns {string}
scripts/crowdin-update-docs-resources.mjs:27
↓ 1 callersMethodtoIssue
(result: DoctorCheckResult, check: IDoctorCheck)
packages/appium/lib/doctor/doctor.ts:185
↓ 1 callersFunctiontoLabel
(iface: NetworkInterfaceInfo)
packages/http-server/lib/network.ts:44
↓ 1 callersFunctiontoNaturalNumber
(defaultValue: number, envVarName?: string)
packages/base-driver/lib/basedriver/helpers/app-cache.ts:513
↓ 1 callersMethodtoNormalizedExtName
* Normalizes a raw extension name (not including type).
packages/appium/lib/schema/arg-spec.ts:97
↓ 1 callersFunctiontoRedirectUrl
* 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 callersFunctiontoRequestUrl
(requestOpts: AxiosRequestConfig)
packages/base-driver/lib/basedriver/helpers/app-url-rules.ts:417
↓ 1 callersFunctiontoRestCommandItemParam
(x: any, isRequired: boolean)
packages/appium/lib/inspector-commands.ts:73
↓ 1 callersFunctiontopLevelProp
* 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 callersFunctiontrackBiDiEvent
(source: object, consumer: object)
packages/appium/lib/bidi/flow-control.ts:82
↓ 1 callersFunctiontrackBidiProxyCommands
Track proxied commands until an upstream response or socket termination.
packages/appium/lib/bidi/commands.ts:470
↓ 1 callersFunctiontrackResponseClose
(res: Response)
packages/base-driver/lib/protocol/route-handler.ts:190
↓ 1 callersFunctiontracker
()
packages/support/test/unit/internal/write-queue.spec.ts:8
↓ 1 callersFunctiontransform
(chunk: Buffer, _encoding, callback)
packages/support/lib/internal/base64-encode-stream.ts:8
↓ 1 callersFunctiontruncateString
(value: string, options: TruncateStringOptions | number = {})
packages/support/lib/util.ts:150
↓ 1 callersFunctiontryWdProxy
( driver: Core<any>, req: Request, res: Response, spec: DriverMethodDef<Driver>, isSessCmd: boolean,
packages/base-driver/lib/protocol/proxy.ts:51
↓ 1 callersFunctiontypesDiffer
(dest: string)
packages/appium/lib/bootstrap/startup-config.ts:40
↓ 1 callersMethodunconsume
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 callersFunctionunicodePathExtra
(rawName: string, unicodeName: string, crcName = rawName)
packages/support/test/e2e/zip.e2e.spec.ts:627
↓ 1 callersFunctionuninstallExtension
* Run the given extensionConfigArgs command after checking if the given extensionName was already installed.
packages/appium/lib/cli/setup-command.ts:201
↓ 1 callersFunctionunknownMethodHandler
(allowedMethods: string)
packages/http-server/lib/middleware/unknown-method.ts:12
↓ 1 callersFunctionunwrapConstructor
* 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 callersFunctionunwrapParams
(paramSets: PayloadParams, jsonObj: T)
packages/base-driver/lib/protocol/params.ts:217
↓ 1 callersFunctionupdateDocuments
* @returns {Promise<void>}
scripts/crowdin-update-docs-resources.mjs:270
↓ 1 callersFunctionupdateMkDocsConfig
* @returns {Promise<void>}
scripts/crowdin-update-docs-resources.mjs:289
↓ 1 callersMethodupdateServer
(expressApp: Express, httpServer: AppiumServer)
packages/storage-plugin/lib/plugin.ts:33
↓ 1 callersMethodupdateServer
( expressApp: Application, httpServer: AppiumServer, cliArgs: Record<string, unknown>, )
packages/fake-plugin/lib/plugin.ts:96
↓ 1 callersMethodupdateSettings
* 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 callersMethodupdateSymlinkDependencies
(target: SymlinkTarget, missingPaths: Set<string>)
packages/support/lib/internal/zip-entry-writer.ts:639
↓ 1 callersFunctionupdaterWithGetRoute
(route: string, reply: string)
packages/http-server/test/e2e/express/server.e2e.spec.ts:208
↓ 1 callersFunctionupgrade
(headers: Record<string, string>, allowCors?: boolean)
packages/http-server/test/unit/express/websocket-upgrade.spec.ts:33
↓ 1 callersFunctionupload
(id: string)
packages/storage-plugin/test/unit/concurrent-upload.spec.ts:27
↓ 1 callersFunctionuploadDocumentsToStorage
* @param {string[]} matchedFiles * @returns {Promise<Record<string, string>>}
scripts/crowdin-update-docs-resources.mjs:140
↓ 1 callersFunctionuploadFileToHttp
({localPath, url, options, log}: HttpUploadRequest)
packages/support/lib/internal/http-upload.ts:65
↓ 1 callersFunctionurl
(value: string)
packages/base-driver/test/unit/basedriver/app-url-rules.spec.ts:12
↓ 1 callersFunctionurlFor
(sess: string, path: string)
packages/base-driver/test/helpers.ts:48
↓ 1 callersMethoduseColor
(stream: Writable | null)
packages/logger/lib/log.ts:272
↓ 1 callersFunctionuseScreenshot
(image: Buffer)
packages/images-plugin/test/unit/finder.spec.ts:103
↓ 1 callersMethodvalidate
()
packages/appium/lib/extension/driver-config.ts:40
↓ 1 callersMethodvalidate
* Runs the configured validations, then resets internal state upon completion or rejection.
packages/docutils/lib/validate.ts:161
↓ 1 callersMethodvalidateDesiredCaps
* 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 callersMethodvalidateDestinationDirectory
()
packages/support/lib/internal/move-operation.ts:121
↓ 1 callersMethodvalidateExtensionFields
* 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 callersFunctionvalidateFeatures
* Validates the list of allowed/denied server features * * @param features
packages/appium/lib/insecure-features.ts:102
↓ 1 callersMethodvalidateLocatorStrategy
(strategy: string, webContext?: boolean)
packages/types/lib/driver.ts:124
↓ 1 callersMethodvalidateManifestEnvelope
* 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 callersMethodvalidateMkDocs
* Validates that the correct version of `mkdocs` is installed
packages/docutils/lib/validate.ts:241
↓ 1 callersMethodvalidateMkDocsConfig
* 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 callersMethodvalidatePythonDeps
* 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 callersMethodvalidatePythonVersion
* Asserts that the Python version is 3.x
packages/docutils/lib/validate.ts:383
↓ 1 callersMethodvalidateSymlinkTarget
* Reject escaping targets or excessive traversal; return missing-path keys for later rechecks.
packages/support/lib/internal/zip-entry-writer.ts:571
↓ 1 callersMethodvalidateValues
(required: Capabilities<C>, candidates: Capabilities<C>[])
packages/base-driver/lib/basedriver/capabilities.ts:389
← previousnext →1,201–1,300 of 2,268, ranked by callers