🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

appium-ios-device

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-ios-device

Description goes here.

1.6.0
Source
npm
Version published
Weekly downloads
265K
-10.08%
Maintainers
1
Weekly downloads
 
Created

What is appium-ios-device?

The appium-ios-device npm package provides a set of utilities for interacting with iOS devices. It is primarily used in the context of Appium, a popular automation framework for mobile applications, to facilitate communication with iOS devices for tasks such as file management, process control, and device information retrieval.

What are appium-ios-device's main functionalities?

File Management

This feature allows you to manage files on the iOS device. The code sample demonstrates how to list files in the Documents directory of a specific app on the device.

const { services } = require('appium-ios-device');
(async () => {
  const udid = 'your-device-udid';
  const service = await services.startHouseArrestService(udid, 'your-app-bundle-id');
  const files = await service.listDirectory('/Documents');
  console.log(files);
})();

Process Control

This feature allows you to control and monitor processes running on the iOS device. The code sample shows how to list all running processes on the device.

const { services } = require('appium-ios-device');
(async () => {
  const udid = 'your-device-udid';
  const service = await services.startLockdownService(udid);
  const processes = await service.listProcesses();
  console.log(processes);
})();

Device Information

This feature allows you to retrieve various pieces of information about the iOS device. The code sample demonstrates how to get the iOS version of the device.

const { services } = require('appium-ios-device');
(async () => {
  const udid = 'your-device-udid';
  const service = await services.startLockdownService(udid);
  const info = await service.getValue('ProductVersion');
  console.log(info);
})();

Other packages similar to appium-ios-device

Keywords

appium

FAQs

Package last updated on 24 Jul 2020

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