npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

appium-wincore-dotnet-bridge

v1.0.0

Published

In-process .NET (WinForms / WPF / DevExpress) UI-tree bridge for appium-wincore-driver, as an installable Appium plugin

Readme

appium-wincore-dotnet-bridge

In-process .NET (WinForms / WPF / DevExpress) UI-tree bridge for appium-wincore-driver, as an installable Appium plugin.

The problem

Custom-drawn .NET control libraries — DevExpress XtraGrid, owner-drawn ListViews, WPF templated columns — expose only a generic "<Column> row <N>" placeholder to out-of-process UI Automation. The real cell values, bound or unbound, are simply not reachable through UIA, the Value pattern, or HelpText.

The fix

A bridge DLL is injected into the target .NET process (Win32 LoadLibrary/CreateRemoteThread for .NET Framework; CoreCLR diagnostics-IPC profiler attach for .NET 5+) and reflects the live WinForms/WPF control tree over a loopback-TCP JSON protocol. The driver's server reaches it through a tree provider (ITreeProvider) contributed by this package's WincoreServer plugin (native/plugin/WincoreDotnetBridge.dll).

Unlike the Java bridge, the reflected tree is never auto-merged into the real UIA tree — standard findElement / getPageSource stay pure UIA even on a bridge-attached window. The bridge tree is opt-in, reached through the dedicated windows: *ViaDotnetBridge commands.

Install

appium plugin install --source=npm appium-wincore-dotnet-bridge
appium --use-plugins=wincore-dotnet-bridge

Requires Appium 3 and appium-wincore-driver. The plugin registers its server-side tree provider by appending its native/plugin/ directory to the WINCORE_SERVER_PLUGINS environment variable at load, before any session starts.

Usage

// Attach the bridge to the current window's process (needs appTopLevelWindow, attach-only).
await driver.executeScript('windows: attachDotnetBridge', []);

// Standard find still sees only real UIA:
await driver.getPageSource();                       // no grid values

// Reach the reflected content explicitly:
const el = await driver.executeScript('windows: findElementViaDotnetBridge',
    [{ using: 'xpath', value: '//*[@Name="Status"]' }]);

| Command | Params | Description | |---|---|---| | windows: attachDotnetBridge | none | Inject the bridge into the current window's process | | windows: findElementViaDotnetBridge | using, value, contextElementId? | Find one element in the reflected tree | | windows: findElementsViaDotnetBridge | using, value, contextElementId? | Find all | | windows: getPageSourceViaDotnetBridge | contextElementId? | Dump the reflected tree as XML |

Attach is a command, not a capability — start the session on the target window (appTopLevelWindow capability, or switchToWindow first), then call windows: attachDotnetBridge.

Build from source

npm install
npm run build:all      # native bridge (needs VS C++/CLI), profiler, x86 stub, plugin DLL, then tsc

The native C++/CLI and C++ projects (dotnet-bridge-agent/, dotnet-bridge-profiler/) need Visual Studio with the "Desktop development with C++" workload (plus "C++/CLI support" for the agent). Run from a Developer Command Prompt.

Contract

The plugin DLL compiles against WincoreServerSdk (ITreeProvider, IServerPlugin). While the contract is still stabilising this is a relative project reference to a sibling appium-wincore-driver checkout; it moves to a published NuGet package once stable.