🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@react-native-windows/automation-commands

Package Overview
Dependencies
Maintainers
4
Versions
636
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-windows/automation-commands

Allows controlling your react-native-windows application

latest
Source
npmnpm
Version
0.1.445
Version published
Weekly downloads
116
-94.02%
Maintainers
4
Weekly downloads
 
Created
Source

@react-native-windows/automation-commands

@react-native-windows/automation-commands provides built-in commands that may be used with @react-native-windows/automation-channel to make it easier to test your application.

This package is a work in progress

Adding to your application

TBD

Commands

dumpVisualTree

The dumpVisualTree command creates a JSON object corresponding to the XAML tree under a given testID. This can be used in conjunction with snapshot testing to validate that your native UI looks how you could expect.

import {dumpVisualTree} from '@react-native-windows/automation-commands';

test('Widget', async () => {
  const dump = await dumpVisualTree('widget-test-id');
  expect(dump).toMatchSnapshot();
});

Options

TBD

FAQs

Package last updated on 28 Oct 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