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

appium-remote-debugger

Package Overview
Dependencies
Maintainers
7
Versions
229
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

  • 12.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
269K
increased by9.66%
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

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