New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

appium-xcuitest-driver

Package Overview
Dependencies
Maintainers
0
Versions
705
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-xcuitest-driver

Appium driver for iOS using XCUITest for backend

  • 8.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
252K
increased by6.51%
Maintainers
0
Weekly downloads
 
Created

What is appium-xcuitest-driver?

The appium-xcuitest-driver is a driver for Appium that allows you to automate iOS applications using the XCUITest framework. It is used for running tests on iOS devices and simulators, providing a robust and flexible way to interact with iOS applications programmatically.

What are appium-xcuitest-driver's main functionalities?

Launching an iOS application

This code sample demonstrates how to launch an iOS application using the appium-xcuitest-driver. It sets up the WebDriverIO client with the necessary capabilities and then launches the app.

const wdio = require('webdriverio');
const opts = {
  port: 4723,
  capabilities: {
    platformName: 'iOS',
    platformVersion: '14.4',
    deviceName: 'iPhone 12',
    app: '/path/to/your.app',
    automationName: 'XCUITest'
  }
};
const client = await wdio.remote(opts);
await client.init();
await client.launchApp();

Finding and interacting with elements

This code sample shows how to find an element by its accessibility ID and perform a click action on it. The appium-xcuitest-driver allows you to interact with various UI elements in the iOS application.

const element = await client.$('~elementId');
await element.click();

Taking a screenshot

This code sample demonstrates how to take a screenshot of the current screen in the iOS application. The screenshot is saved to the specified path.

const screenshot = await client.saveScreenshot('/path/to/screenshot.png');

Other packages similar to appium-xcuitest-driver

Keywords

FAQs

Package last updated on 06 Feb 2025

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