JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28490
  • Score
    100M100P100Q158486F
  • License Apache-2.0

Smart Development Bridge interface

Package Exports

  • appium-sdb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (appium-sdb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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