appium-uiautomator2-driver
Version:
UiAutomator2 integration for Appium
18 lines • 881 B
TypeScript
import type { AndroidUiautomator2Driver } from '../driver';
/**
* Sets the URL for the current app.
* @param url - The URL to navigate to.
*/
export declare function setUrl(this: AndroidUiautomator2Driver, url: string): Promise<void>;
/**
* Starts a URL that takes users directly to specific content in the app.
* @param url - The deep link URL to start.
* @param pkg - Optional package name to start the URI with. If not provided, uses the current app package.
* @param waitForLaunch - If false, adb won't wait for the started activity to return control. Defaults to true.
*/
export declare function mobileDeepLink(this: AndroidUiautomator2Driver, url: string, pkg?: string, waitForLaunch?: boolean): Promise<void>;
/**
* Navigates back in the app.
*/
export declare function back(this: AndroidUiautomator2Driver): Promise<void>;
//# sourceMappingURL=navigation.d.ts.map