UNPKG

appium-xcuitest-driver-conan

Version:

Appium driver for iOS using XCUITest for backend

23 lines (17 loc) 514 B
// transpile:main import yargs from 'yargs'; import { asyncify } from 'asyncbox'; import { XCUITestDriver } from './lib/driver'; import { startServer } from './lib/server'; const DEFAULT_HOST = 'localhost'; const DEFAULT_PORT = 4723; async function main () { let port = yargs.argv.port || DEFAULT_PORT; let host = yargs.argv.host || DEFAULT_HOST; return startServer(port, host); } if (require.main === module) { asyncify(main); } export { XCUITestDriver, startServer }; export default XCUITestDriver;