appium-sdb
TypeScript icon, indicating that this package has built-in type declarations

1.0.1-beta.1 • Public • Published

appium-sdb

NPM version Downloads Dependency Status devDependency Status Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i appium-sdb

Weekly Downloads

33,236

Version

1.0.1-beta.1

License

Apache-2.0

Unpacked Size

99.8 kB

Total Files

18

Last publish

Collaborators

  • flyofsky
  • rookiejava
  • shmin