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

appium-remote-debugger

Package Overview
Dependencies
Maintainers
7
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-remote-debugger

Appium proxy for Remote Debugger protocol

4.5.0
Source
npm
Version published
Weekly downloads
249K
1.29%
Maintainers
7
Weekly downloads
 
Created

What is appium-remote-debugger?

The appium-remote-debugger npm package is a tool used for remote debugging of iOS applications. It allows you to interact with and control iOS webviews and Safari instances from a remote environment, which is particularly useful for automated testing scenarios.

What are appium-remote-debugger's main functionalities?

Connecting to a Remote Debugger

This feature allows you to establish a connection to a remote debugger instance. The code sample demonstrates how to create a new RemoteDebugger instance and connect to it using specific parameters like bundleId and platformVersion.

const RemoteDebugger = require('appium-remote-debugger');
const rd = new RemoteDebugger({
  bundleId: 'com.apple.mobilesafari',
  platformVersion: '14.4',
  isSafari: true
});
await rd.connect();

Listing Available Contexts

This feature allows you to list all available contexts (webviews) for a given application. The code sample shows how to select an app and retrieve its contexts.

const contexts = await rd.selectApp('com.apple.mobilesafari');
console.log(contexts);

Executing JavaScript in a Webview

This feature allows you to execute JavaScript code within a webview context. The code sample demonstrates how to execute a simple JavaScript command to get the document title.

const result = await rd.execute('document.title');
console.log(result);

Other packages similar to appium-remote-debugger

Keywords

appium

FAQs

Package last updated on 28 Aug 2019

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