1.0.1-beta.1 • Published 6 years ago
appium-sdb v1.0.1-beta.1
appium-sdb
A wrapper over tizen-sdb, implemented using ES6 and along with async/await. This package is mainly used by Appium to perform all sdb operations on tizen device.
Usage:
example:
import SDB, { DEFAULT_SDB_PORT } from 'appium-sdb';
let sdb = new SDB();
const opts = {
sdkRoot: null,
udid: null,
executable: {path: 'sdb', defaultArgs: []},
curDeviceId: null,
emulatorPort: null,
binaries: {},
suppressKillServer: null,
sdbPort: DEFAULT_SDB_PORT
};
let sdb2 = await SDB.createSDB(opts);
console.log(await sdb.getConnectedDevices());List of methods:
createSDBgetSdbWithCorrectSdbPathgetSdbVersiongetSdbPathisDeviceConnectedmkdirisValidClassforceStoprimrafpushpullprocessExistsforwardPortremovePortForwardpingrestartgetSdkBinaryPathConnectDevicegetCommandForOSgetConnectedDevicesgetDeviceStatusgetDevicesWithRetrygetConnectedEmulatorsgetPortFromEmulatorStringrestartSdbsdbExecshellsetEmulatorPortsetDeviceIdrebootfileExistsisAppInstalledstartAppuninstallinstallFromDevicePathinstallrootunroottakeScreenShotstartExeccheckProcessStatuskillProcess
1.0.1-beta.1
6 years ago
1.0.1-beta
7 years ago
1.0.0-beta
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago