Skip to main content

Dioxus Service

@wdio/dioxus-service is a 3rd party package, for more information please see GitHub | npm

@wdio/dioxus-service Version Downloads

WebdriverIO service for testing Dioxus desktop apps on Windows, Linux and macOS.

Features​

  • A WebDriver server built into your app, so there's no driver to install
  • browser.dioxus.execute(), to run JavaScript in the app with access to its invoke commands
  • Mocking of invoke commands
  • Backend and frontend log capture
  • Multiremote, and one app per worker for parallel runs
  • Browser mode, to test the frontend in Chrome against a dev server, without building the app

Installation​

Install the service via npm:

npm install --save-dev @wdio/dioxus-service

Or with pnpm:

pnpm add -D @wdio/dioxus-service

Quick Start​

Get started in minutes with the Quick Start Guide.

Minimal Configuration​

Add to your wdio.conf.ts:

export const config = {
services: ['@wdio/dioxus-service'],

capabilities: [
{
browserName: 'dioxus',
'dioxus:options': {
// Debug build from `dx build --desktop` (Linux path; see the Quick Start for macOS and Windows)
application: './target/dx/my-app/debug/linux/app/my-app',
},
},
],
};

See Configuration Reference for all options.

Documentation​

Getting Started

Reference

Guides

Help & Support

Platform Support​

The service supports Windows, Linux and macOS. The Quick Start lists each platform's requirements.

Example Projects​

Check out the E2E test fixtures in the desktop-mobile repository for complete working examples.

Support​

Contributing​

See CONTRIBUTING.md.

License​

MIT License. See LICENSE file for details.

See Also​

Welcome! How can I help?

WebdriverIO AI Copilot