appium-ios-simulator
Version:
iOS Simulator interface for Appium.
13 lines • 673 B
TypeScript
import type { Simulator, SimulatorLookupOptions } from './types';
/**
* Finds and returns the corresponding Simulator instance for the given ID.
*
* @param udid - The ID of an existing Simulator.
* @param opts - Simulator lookup options
* @throws {Error} If the Simulator with given udid does not exist in devices list.
* If you want to create a new simulator, you can use the `createDevice()` method of
* [node-simctl](github.com/appium/node-simctl).
* @return Simulator object associated with the udid passed in.
*/
export declare function getSimulator(udid: string, opts?: SimulatorLookupOptions): Promise<Simulator>;
//# sourceMappingURL=simulator.d.ts.map