Dolphin Desktop
Windows desktop test automation with lazy locators, auto-waiting, and pytest integration.
Dolphin Desktop helps Python tests launch, find, and interact with Windows desktop applications through Microsoft UI Automation, Win32 automation, image matching, and selected integrations such as Java Access Bridge and Office COM.
pip install dolphin-desktop
from dolphin_desktop import Desktop
desktop = Desktop(backend="uia")
app = desktop.launch("notepad.exe")
win = app.window(class_name="Notepad")
editor = win.get_by_role("Document")
editor.click()
editor.type_text("Hello, Dolphin!")
assert "Hello, Dolphin!" in editor.text()
app.kill()
What It Provides
- Lazy locators that resolve only when an action or query runs.
- Auto-waiting for element actions and assertions.
- A pytest plugin with
desktopandlaunchfixtures. - UIA and Win32 backends for Windows desktop applications.
- Image-based fallback selectors with the
visionextra. - Trace, screenshot, video, recorder, spy, and project scaffold commands.
Quickstart
pip install dolphin-desktop pytest
dolphin doctor
dolphin init my-tests --yes
cd my-tests
pytest tests/ -v
The default scaffold creates a Notepad test and a small Page Object under objects/.
Documentation
The documentation site is built with MkDocs from the docs/ directory:
uv run mkdocs serve
Key pages:
docs/installation.mddocs/quickstart.mddocs/tutorials/first-test.mddocs/reference/index.mddocs/reference/cli.md
Development
See CONTRIBUTING.md for setup instructions.
Contact
Maintained by DolphinSoft Kamil Gluszek.
- Website: https://dolphinsoft.pl
- Email: kontakt@dolphinsoft.pl
License
Release files for dolphin-desktop 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dolphin_desktop-0.1.0.tar.gz | 240.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dolphin_desktop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 346.0 kB
Release files / dolphin_desktop-0.1.0.tar.gz
| Download URL | dolphin_desktop-0.1.0.tar.gz |
|---|---|
| Size | 240.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56bf97d2589206766ff7d8fe21dbb95e3c3ddcf0dea93f67f82a23e8a3238472
|
|
BLAKE2b-256 checksum How to use checksums |
aef75f32680dc18782209815144271020ff179d1fa5e2e370a119d0f09d70920
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 29, 2026.
Transparency logRelease files / dolphin_desktop-0.1.0-py3-none-any.whl
| Download URL | dolphin_desktop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 105.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de8e6f03e69c40a5ddf7b28b3ba19b3fa5e29ea2e07b71f8cddaf0d3315914f0
|
|
BLAKE2b-256 checksum How to use checksums |
6f61a1d36116a84cc72b9840857ff44b07956763f733403930abf02d15f4e7f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 29, 2026.
Transparency log