UNPKG

appium-mac2-driver

Version:

XCTest-based Appium driver for macOS apps automation

22 lines 781 B
"use strict"; 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+. * * @this {Mac2Driver} * @param {string} url The URL to be opened. * @param {string} [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. * @returns {Promise<unknown>} */ async function macosDeepLink(url, bundleId) { return await this.wda.proxy.command('/url', 'POST', { url, bundleId }); } ; /** * @typedef {import('../driver').Mac2Driver} Mac2Driver */ //# sourceMappingURL=navigation.js.map