appium-sdb
v1.0.1-beta.1
Published
Smart Development Bridge interface
Downloads
148,551
Readme
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:
createSDB
getSdbWithCorrectSdbPath
getSdbVersion
getSdbPath
isDeviceConnected
mkdir
isValidClass
forceStop
rimraf
push
pull
processExists
forwardPort
removePortForward
ping
restart
getSdkBinaryPath
ConnectDevice
getCommandForOS
getConnectedDevices
getDeviceStatus
getDevicesWithRetry
getConnectedEmulators
getPortFromEmulatorString
restartSdb
sdbExec
shell
setEmulatorPort
setDeviceId
reboot
fileExists
isAppInstalled
startApp
uninstall
installFromDevicePath
install
root
unroot
takeScreenShot
startExec
checkProcessStatus
killProcess