appium-geckodriver
Version:
Appium driver for Gecko-based browsers and web views
13 lines • 812 B
TypeScript
import type { GeckoDriver } from '../driver';
/**
* Find element(s) by given strategy and selector. If context is provided, search will be performed within the context element.
* This is needed to make lookup by image working.
* @this GeckoDriver
* @param strategy - The strategy to use for finding the element(s) (e.g., 'css selector', 'xpath', etc.)
* @param selector - The selector to use for finding the element(s)
* @param mult - Whether to find multiple elements (true) or a single element (false)
* @param context - Optional context element ID to search within
* @returns A promise that resolves to the found element(s)
*/
export declare function findElOrEls(this: GeckoDriver, strategy: string, selector: string, mult: boolean, context?: string): Promise<any>;
//# sourceMappingURL=find.d.ts.map