Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appium-idb

Package Overview
Dependencies
Maintainers
6
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-idb

iOS Debug Bridge interface. NodeJS wrapper of https://www.fbidb.io

  • 1.8.21
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
142K
decreased by-7.97%
Maintainers
6
Weekly downloads
 
Created

What is appium-idb?

The appium-idb package is a Node.js wrapper for interacting with the iOS Development Bridge (idb), which is a tool developed by Facebook for automating iOS devices. It is primarily used in the context of Appium, a popular automation framework for mobile applications, to facilitate various device and app management tasks.

What are appium-idb's main functionalities?

Install an App

This feature allows you to install an iOS application on a connected device using its UDID. The code sample demonstrates how to connect to the device, install the app, and then disconnect.

const { Idb } = require('appium-idb');
(async () => {
  const idb = new Idb({ udid: 'your-device-udid' });
  await idb.connect();
  await idb.installApp('/path/to/your/app.ipa');
  await idb.disconnect();
})();

Launch an App

This feature allows you to launch an installed iOS application on a connected device using its bundle identifier. The code sample shows how to connect to the device, launch the app, and then disconnect.

const { Idb } = require('appium-idb');
(async () => {
  const idb = new Idb({ udid: 'your-device-udid' });
  await idb.connect();
  await idb.launchApp('com.example.yourapp');
  await idb.disconnect();
})();

List Installed Apps

This feature allows you to list all the applications installed on a connected iOS device. The code sample demonstrates how to connect to the device, retrieve the list of installed apps, and then disconnect.

const { Idb } = require('appium-idb');
(async () => {
  const idb = new Idb({ udid: 'your-device-udid' });
  await idb.connect();
  const apps = await idb.listApps();
  console.log(apps);
  await idb.disconnect();
})();

Record Screen

This feature allows you to record the screen of a connected iOS device. The code sample shows how to connect to the device, start the screen recording, and then disconnect.

const { Idb } = require('appium-idb');
(async () => {
  const idb = new Idb({ udid: 'your-device-udid' });
  await idb.connect();
  await idb.recordScreen('/path/to/save/recording.mp4');
  await idb.disconnect();
})();

Other packages similar to appium-idb

Keywords

FAQs

Package last updated on 06 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc