Skip to content

Contributing

Development setup

npm install
npm run lint
npm run build
npm run test
Script Purpose
npm run build Compile TypeScript to build/
npm run build:native Publish WincoreServer.exe to native/win-x64/
npm run lint oxlint
npm run format oxfmt
npm run test Unit tests (node:test)
npm run test:e2e End-to-end tests (Windows + Appium)

Run a single test file:

npm run build && node --enable-source-maps --experimental-test-module-mocks --test build/test/path/to/file.test.js

The repository uses Comment Tagged Templates for PowerShell/C syntax highlighting in VS Code.

Documentation

This site is built with @appium/docutils, like the other Appium driver sites. Install its Python dependencies, then preview the site locally:

npm run install-docs-deps
npm run dev:docs

Pages are published to GitHub Pages automatically after each release run on main.

Performance

The benchmark suite, its baselines and the results log are described in test/perf/README.md. The user-facing perfMetrics capability is described in the Performance Metrics guide.

Server Plugins

To extend the driver with element trees from outside of UI Automation, see Server Plugins.