MCPcopy Create free account

hub / github.com/appium/appium / functions

Functions2,268 in github.com/appium/appium

MethodexecuteMethod
* A convenience method for plugins that implement their own `executeMethodMap`. * Pass through to the driver's execute method if the plugin does no
packages/base-plugin/lib/plugin.ts:43
Functionexists
Alias for {@linkcode fs.hasAccess}
packages/support/lib/fs.ts:162
FunctionextDataHasSchema
* Type guard: manifest entry includes a `schema` path or inline schema object. * * @param extManifest - Parsed extension metadata
packages/appium/lib/extension/extension-config.ts:99
FunctionextractAllTo
(zipFilePath: string, destDir: string, opts: ExtractAllOptions = {})
packages/support/lib/zip.ts:153
FunctionextractStreamTo
( source: stream.Readable | AsyncIterable<Uint8Array>, destDir: string, opts: ExtractStreamOptions = {},
packages/support/lib/zip.ts:120
Functionfail
()
packages/universal-xml-plugin/test/unit/plugin.spec.ts:184
FunctionfakeAddition
(this: FakeDriver, num1: number, num2: number, num3 = 0)
packages/fake-driver/lib/commands/general.ts:77
MethodfakeRoute
(_req: Request, res: Response)
packages/fake-driver/lib/driver.ts:146
MethodfakeRoute
(_req: Request, res: Response)
packages/fake-plugin/lib/plugin.ts:87
MethodfakeStartClock
()
packages/fake-driver/lib/driver.ts:286
MethodfakeStopClock
()
packages/fake-driver/lib/driver.ts:290
MethodfedCMCancelDialog
* Cancel the currently open FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-canceldialog}
packages/types/lib/commands/other-protocols.ts:172
MethodfedCMClickDialogButton
* Click a button in the currently open FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-clickdialogbutton} * * @param dial
packages/types/lib/commands/other-protocols.ts:188
MethodfedCMGetAccounts
* Return all accounts that the user can select in the currently open FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-accountlis
packages/types/lib/commands/other-protocols.ts:196
MethodfedCMGetDialogType
* Return the type of the currently open FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-getdialogtype} * * @returns dialo
packages/types/lib/commands/other-protocols.ts:212
MethodfedCMGetTitle
* Return the title and subtitle (if one exists) of the currently open FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-gettitle}
packages/types/lib/commands/other-protocols.ts:204
MethodfedCMResetCooldown
* Reset the cooldown delay used after dismissing a FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-resetcooldown}
packages/types/lib/commands/other-protocols.ts:224
MethodfedCMSelectAccount
* Select an account to use for the currently open FedCM dialog * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-selectaccount} * * @par
packages/types/lib/commands/other-protocols.ts:180
MethodfedCMSetDelayEnabled
* Set the state of the promise rejection delay * @see {@link https://www.w3.org/TR/fedcm-1/#webdriver-setdelayenabled}
packages/types/lib/commands/other-protocols.ts:218
FunctionfilterFn
(fullName: string)
packages/appium/lib/insecure-features.ts:140
FunctionfilterObject
(obj: T, predicate?: unknown)
packages/support/lib/util.ts:293
Functionfinally
(onFinally?: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:307
FunctionfindElOrEls
( this: BaseDriver<C>, strategy: string, selector: string, mult: boolean, context?: any, )
packages/base-driver/lib/basedriver/commands/find.ts:109
FunctionfindElOrElsImpl
findElOrElsImpl.
packages/fake-driver/lib/commands/find.ts:61
FunctionfindElOrElsWithProcessing
( this: BaseDriver<C>, strategy: string, selector: string, mult: boolean, context?: any, )
packages/base-driver/lib/basedriver/commands/find.ts:158
FunctionfindElement
(this: FakeDriver, strategy: string, selector: string)
packages/fake-driver/lib/commands/find.ts:111
FunctionfindElement
(this: BaseDriver<C>, strategy: string, selector: string)
packages/base-driver/lib/basedriver/commands/find.ts:20
MethodfindElement
(next: () => Promise<any>, driver: ExternalDriver, ...args: any[])
packages/images-plugin/lib/plugin.ts:44
MethodfindElement
(strategy: string, selector: string)
packages/images-plugin/test/unit/finder.spec.ts:44
MethodfindElement
Lets element lookup use the same pass-through plugin/default proxy chain.
packages/appium/test/e2e/navigation-proxy.e2e.spec.ts:53
MethodfindElement
* Finds an element. XPath queries are translated against the universal XML source when * translation is enabled; other strategies are passed on unc
packages/universal-xml-plugin/lib/plugin.ts:111
MethodfindElement
( next: () => Promise<{fake?: boolean} & Record<string, unknown>>, _driver: DriverLike, ...args: u
packages/fake-plugin/lib/plugin.ts:187
FunctionfindElementFromElement
( this: FakeDriver, strategy: string, selector: string, elementId: string, )
packages/fake-driver/lib/commands/find.ts:123
FunctionfindElementFromElement
( this: BaseDriver<C>, strategy: string, selector: string, elementId: string, )
packages/base-driver/lib/basedriver/commands/find.ts:49
MethodfindElementFromShadowRoot
* Find an element from a shadow root * @see {@link https://w3c.github.io/webdriver/#find-element-from-shadow-root} * @param strategy - the locat
packages/types/lib/commands/basedriver.ts:206
FunctionfindElements
(this: FakeDriver, strategy: string, selector: string)
packages/fake-driver/lib/commands/find.ts:118
FunctionfindElements
(this: BaseDriver<C>, strategy: string, selector: string)
packages/base-driver/lib/basedriver/commands/find.ts:33
MethodfindElements
(next: () => Promise<any>, driver: ExternalDriver, ...args: any[])
packages/images-plugin/lib/plugin.ts:48
MethodfindElements
(strategy: string, selector: string)
packages/images-plugin/test/unit/finder.spec.ts:47
MethodfindElements
* Finds elements. XPath queries are translated against the universal XML source when * translation is enabled; other strategies are passed on uncha
packages/universal-xml-plugin/lib/plugin.ts:124
FunctionfindElementsFromElement
( this: FakeDriver, strategy: string, selector: string, elementId: string, )
packages/fake-driver/lib/commands/find.ts:134
FunctionfindElementsFromElement
( this: BaseDriver<C>, strategy: string, selector: string, elementId: string, )
packages/base-driver/lib/basedriver/commands/find.ts:69
MethodfindElementsFromShadowRoot
* Find elements from a shadow root * @see {@link https://w3c.github.io/webdriver/#find-element-from-shadow-root} * @param strategy - the locator
packages/types/lib/commands/basedriver.ts:217
FunctionfindNpmLocation
()
packages/appium/lib/bootstrap/node-helpers.ts:88
FunctionfindPackageRoot
(dir: string)
packages/docutils/lib/utils/package-json.ts:27
Methodfix
()
packages/fake-driver/lib/doctor/common.ts:13
Methodflatten
* Flattens finalized schemas into schema + argSpec tuples.
packages/appium/lib/schema/schema.ts:297
Functionflush
(callback)
packages/support/lib/internal/base64-encode-stream.ts:20
Methodflush
()
packages/support/test/helpers.ts:12
Functionfn1
()
packages/support/test/unit/util.spec.ts:641
Functionfn2
()
packages/support/test/unit/util.spec.ts:642
Methodforward
* Navigate forward in the page history * @see {@link https://w3c.github.io/webdriver/#forward}
packages/types/lib/commands/webdriver.ts:34
Methodforward
()
packages/http-server/test/e2e/protocol/fake-driver.ts:75
MethodfullScreenWindow
* Put the current window into full screen mode * @see {@link https://w3c.github.io/webdriver/#fullscreen-window} * * @returns The actual `Rec
packages/types/lib/commands/webdriver.ts:160
Functiong
()
packages/execute-driver-plugin/test/unit/vm-host-binding.spec.ts:457
MethodgenerateTestReport
* Generate a test report for registered observers * @see {@link https://www.w3.org/TR/reporting-1/#generate-test-report-command} * * @param m
packages/types/lib/commands/other-protocols.ts:43
Functionget
(shadowTarget: HostTarget, prop: string | symbol, receiver: unknown)
packages/execute-driver-plugin/lib/vm-host-binding.ts:577
Functionget
()
packages/execute-driver-plugin/test/unit/vm-host-binding.spec.ts:465
Functionget
()
packages/support/lib/logging.ts:49
MethodgetActiveRequestsCount
* Returns the number of active downstream HTTP requests.
packages/base-driver/lib/wd-proxy/proxy.ts:106
FunctiongetAlertText
(this: FakeDriver)
packages/fake-driver/lib/commands/alert.ts:20
MethodgetAllArgSpecs
* Returns map of known argument specs.
packages/appium/lib/schema/schema.ts:136
MethodgetAppiumSessionCapabilities
* Returns capabilities for the session
packages/base-driver/lib/basedriver/driver.ts:347
FunctiongetAttribute
(this: FakeDriver, attributeName: string, elementId: string)
packages/fake-driver/lib/commands/element.ts:80
MethodgetAttribute
(attr: string, elementId: string, sessionId: string)
packages/http-server/test/e2e/protocol/fake-driver.ts:97
MethodgetAuthCredential
* Get the list of public key credential sources * @see {@link https://www.w3.org/TR/webauthn-2/#sctn-automation-get-credentials} * * @returns
packages/types/lib/commands/other-protocols.ts:288
MethodgetComputedLabel
* Get the accessible name/label of an element * @see {@link https://w3c.github.io/webdriver/#get-computed-label} * * @param elementId - the i
packages/types/lib/commands/webdriver.ts:281
MethodgetComputedRole
* Get the WAI-ARIA role of an element * @see {@link https://w3c.github.io/webdriver/#get-computed-role} * * @param elementId - the id of the
packages/types/lib/commands/webdriver.ts:271
FunctiongetConfigProblems
Driver- or plugin-specific blocking validation; override in subclasses when needed.
packages/appium/lib/extension/extension-config.ts:562
FunctiongetConfigWarnings
Optional async warnings for this extension kind; override in subclasses when needed.
packages/appium/lib/extension/extension-config.ts:357
FunctiongetContexts
(this: FakeDriver)
packages/fake-driver/lib/commands/contexts.ts:30
MethodgetCookie
* Get a cookie by name * @see {@link https://w3c.github.io/webdriver/#get-named-cookie} * * @param name - the name of the cookie * * @r
packages/types/lib/commands/webdriver.ts:359
MethodgetCookies
* Get all cookies known to the browsing context * @see {@link https://w3c.github.io/webdriver/#get-all-cookies} * * @returns A list of serial
packages/types/lib/commands/webdriver.ts:349
FunctiongetCssProperty
(this: FakeDriver, propertyName: string, elementId: string)
packages/fake-driver/lib/commands/element.ts:105
MethodgetCssProperty
* Retrieve the value of a CSS property of an element * @see {@link https://w3c.github.io/webdriver/#get-element-css-value} * * @param name -
packages/types/lib/commands/webdriver.ts:221
FunctiongetCurrentContext
(this: FakeDriver)
packages/fake-driver/lib/commands/contexts.ts:25
MethodgetDefaults
* Returns default values for all args, flattened or nested.
packages/appium/lib/schema/schema.ts:252
MethodgetDefaultsForExtension
* Returns flattened defaults for a specific extension.
packages/appium/lib/schema/schema.ts:278
MethodgetDeprecatedCommandsCalled
()
packages/fake-driver/lib/driver.ts:266
MethodgetDeviceTime
* Get the current time on the device under timeouts * * @param format - the date/time format you would like the response into * * @returns
packages/types/lib/commands/appium.ts:12
FunctiongetElement
(this: FakeDriver, elementId: string)
packages/fake-driver/lib/commands/element.ts:18
FunctiongetElementRect
(this: FakeDriver, elementId: string)
packages/fake-driver/lib/commands/element.ts:86
MethodgetElementRect
()
packages/fake-driver/lib/fake-element.ts:80
MethodgetElementScreenshot
* Get an image of a single element as rendered on screen * @see {@link https://w3c.github.io/webdriver/#take-element-screenshot} * * @param e
packages/types/lib/commands/webdriver.ts:442
FunctiongetElements
(this: FakeDriver, elementIds: string[])
packages/fake-driver/lib/commands/element.ts:8
FunctiongetExistingElementForNode
(this: FakeDriver, node: FakeElement)
packages/fake-driver/lib/commands/find.ts:11
MethodgetFakeDriverArgs
()
packages/fake-driver/lib/driver.ts:261
MethodgetFakeDriverClockStatus
()
packages/fake-plugin/lib/plugin.ts:178
MethodgetFakePluginArgs
()
packages/fake-plugin/lib/plugin.ts:173
MethodgetFakeThing
()
packages/fake-driver/lib/driver.ts:247
MethodgetFakeThing
()
packages/fake-plugin/lib/plugin.ts:151
FunctiongetGenericConfigProblems
Blocking issues for required manifest fields shared by all extensions (version, package name, main class).
packages/appium/lib/extension/extension-config.ts:556
FunctiongetGenericConfigWarnings
* Warnings about manifest install fields and Appium peer dependency compatibility for one extension.
packages/appium/lib/extension/extension-config.ts:445
MethodgetGlobalPrivacyControl
* Get the do-not-sell-or-share preference value * @see {@link https://www.w3.org/TR/gpc/#get-global-privacy-control} * * @returns the value o
packages/types/lib/commands/other-protocols.ts:332
FunctiongetHostNullWithFn
()
packages/execute-driver-plugin/test/unit/vm-host-binding.spec.ts:812
FunctiongetInstallPath
* Root directory of an installed extension, preferring `installPath` and falling back to `node_modules/<pkgName>`. * * @param extName - Installe
packages/appium/lib/extension/extension-config.ts:294
FunctiongetInstallationReceipt
* Once a package is installed on-disk, this gathers some necessary metadata for validation.
packages/appium/lib/cli/extension-command.ts:983
MethodgetInstance
(manifest: Manifest)
packages/appium/lib/extension/driver-config.ts:36
MethodgetInstance
(manifest: Manifest)
packages/appium/lib/extension/plugin-config.ts:28
FunctiongetLastPluginMath
(this: FakeDriver)
packages/fake-driver/lib/commands/general.ts:92
← previousnext →1,701–1,800 of 2,268, ranked by callers