Installations
npm install appium-adb-test
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
6.3.1
NPM Version
3.10.7
Score
49.6
Supply Chain
85.4
Quality
65.9
Maintenance
25
Vulnerability
93
License
Releases
Contributors
Languages
JavaScript (98.61%)
TypeScript (1.39%)
Developer
appium
Download Statistics
Total Downloads
903
Last Day
1
Last Week
2
Last Month
4
Last Year
95
GitHub Statistics
282 Stars
1,345 Commits
169 Forks
40 Watching
7 Branches
77 Contributors
Package Meta Information
Latest Version
0.0.1
Package Id
appium-adb-test@0.0.1
Size
20.40 MB
NPM Version
3.10.7
Node Version
6.3.1
Total Downloads
Cumulative downloads
Total Downloads
903
Last day
0%
1
Compared to previous day
Last week
0%
2
Compared to previous week
Last month
33.3%
4
Compared to previous month
Last year
-17.4%
95
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
appium-adb
A wrapper over android-adb, implemented using ES6 and along with async/await
. This package is mainly used by Appium to perform all adb operations on android device.
Installing
npm install appium-adb
Watch
npm run watch
Test
unit tests
npm run test
functional tests
gulp e2e-test
Usage:
example:
import ADB from 'appium-adb';
let adb = new ADB();
await adb.createADB();
console.log(await adb.getPIDsByName('m.android.phone'));
List of methods:
- createADB
- initJars
- getAdbWithCorrectAdbPath
- initAapt
- initZipAlign
- getApiLevel
- isDeviceConnected
- mkdir
- isValidClass
- forceStop
- clear
- stopAndClear
- availableIMEs
- enabledIMEs
- enableIME
- disableIME
- setIME
- defaultIME
- keyevent
- lock
- back
- goToHome
- isScreenLocked
- isSoftKeyboardPresent
- sendTelnetCommand
- isAirplaneModeOn
- setAirplaneMode
- broadcastAirplaneMode
- isWifiOn
- setWifiState
- isDataOn
- setDataState
- setWifiAndData
- rimraf
- push
- pull
- processExists
- forwardPort
- forwardAbstractPort
- ping
- restart
- startLogcat
- stopLogcat
- getLogcatLogs
- getPIDsByName
- killProcessesByName
- killProcessByPID
- broadcastProcessEnd
- broadcast
- endAndroidCoverage
- instrument
- androidCoverage
- processFromManifest
- packageAndLaunchActivityFromManifest
- compileManifest
- insertManifest
- hasInternetPermissionFromManifest
- getSdkBinaryPath
- getCommandForOS
- getBinaryFromSdkRoot
- getBinaryFromPath
- getConnectedDevices
- getDevicesWithRetry
- restartAdb
- adbExec
- shell
- getAdbServerPort
- getEmulatorPort
- getPortFromEmulatorString
- getConnectedEmulators
- setEmulatorPort
- setDeviceId
- getRunningAVD
- getRunningAVDWithRetry
- killAllEmulators
- launchAVD
- waitForEmulatorReady
- waitForDevice
- reboot
- signWithDefaultCert
- signWithCustomCert
- sign
- zipAlignApk
- checkApkCert
- checkCustomApkCert
- getKeystoreMd5
- checkApkKeystoreMatch
- isAppInstalled
- startApp
- startUri
- getFocusedPackageAndActivity
- waitForActivityOrNot
- waitForActivity
- waitForNotActivity
- uninstallApk
- installFromDevicePath
- install
- fingerprint (ApiLevel >=23)
No vulnerabilities found.
Reason
15 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
packaging workflow detected
Details
- Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.js.yml:9
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/appium/.github/SECURITY.md:1
- Info: Found linked content: github.com/appium/.github/SECURITY.md:1
- Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy
- Info: Found text in security policy: github.com/appium/.github/SECURITY.md:1
Reason
Found 9/26 approved changesets -- score normalized to 3
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/functional-test.yml:1
- Warn: no topLevel permission defined: .github/workflows/pr-title.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish.js.yml:1
- Warn: no topLevel permission defined: .github/workflows/unit-test.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/functional-test.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/functional-test.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/functional-test.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/functional-test.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/functional-test.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/functional-test.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/functional-test.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/functional-test.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/functional-test.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr-title.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/pr-title.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.js.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/publish.js.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.js.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/publish.js.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/unit-test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/unit-test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unit-test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/unit-test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unit-test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/appium/appium-adb/unit-test.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/functional-test.yml:60
- Warn: npmCommand not pinned by hash: .github/workflows/publish.js.yml:19
- Warn: npmCommand not pinned by hash: .github/workflows/unit-test.yml:29
- Info: 0 out of 9 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 5 third-party GitHubAction dependencies pinned
- Info: 0 out of 3 npmCommand dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 15 are checked with a SAST tool
Score
6
/10
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More