appium-mac2-driver
Version:
XCTest-based Appium driver for macOS apps automation
16 lines • 646 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.macosDeepLink = macosDeepLink;
/**
* Opens the given URL with the default or the given application.
* Xcode must be at version 14.3+.
*
* @param url - The URL to be opened.
* @param bundleId - The bundle identifier of an application to open
* the given url with. If not provided then the default application
* for the given url scheme is going to be used.
*/
async function macosDeepLink(url, bundleId) {
return await this.wda.proxy.command('/url', 'POST', { url, bundleId });
}
//# sourceMappingURL=navigation.js.map