Skip to content

Remove deprecated RPA.Desktop.Windows, fix locator parsing and Highlight Elements - #1343

Open
mikahanninen wants to merge 3 commits into
masterfrom
chore/remove-desktop-windows-major
Open

Remove deprecated RPA.Desktop.Windows, fix locator parsing and Highlight Elements#1343
mikahanninen wants to merge 3 commits into
masterfrom
chore/remove-desktop-windows-major

Conversation

@mikahanninen

Copy link
Copy Markdown
Contributor

Summary

  • Breaking: remove the long-deprecated RPA.Desktop.Windows (pywinauto-based) library — it has emitted a deprecation warning pointing at RPA.Windows for a long time and is unmaintained. rpaframework bumped to 33.0.0.
  • Fix rpaframework-core's Windows locator tokenizer silently mis-parsing a strategy when a stray locator= prefix or unmatched quote leaks into the locator value (e.g. locator='executable:AsdfConfigurator.exe), instead of recognizing the executable: strategy. rpaframework-core bumped to 13.0.2.
  • RPA.Desktop's Highlight Elements now returns the list of matched element regions instead of discarding them.
  • Removed the two examples/ scripts that depended exclusively on the removed pywinauto API, since no RPA.Windows port could be verified without a Windows environment.

Fixes #1322, #1323, #1324.

Test plan

  • uv run pytest tests/python/ — 626 passed (packages/main)
  • uv run pytest tests/python/ — 144 passed, including 2 new locator-tokenizer cases (packages/core)
  • New unit tests for Highlight Elements return value (packages/main)
  • uv run pylint clean on both packages
  • Manual smoke test on Windows (not available in this environment) — recommend verifying RPA.Windows locator parsing and Highlight Elements on a Windows machine before release

🤖 Generated with Claude Code

…d Highlight Elements

BREAKING CHANGE: RPA.Desktop.Windows (pywinauto-based) is removed. It has
been deprecated for a long time in favor of RPA.Windows, which superseded
it. Also fixes rpaframework-core's Windows locator tokenizer silently
mis-parsing a strategy when a stray `locator=` prefix or unmatched quote
leaks into the value (e.g. `locator='executable:...`), and makes
RPA.Desktop's Highlight Elements return the element regions it already
computes instead of discarding them.

Fixes #1322, #1323, #1324.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 18, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

# Conflicts:
#	docs/source/releasenotes.rst
#	packages/main/uv.lock
@github-actions

github-actions Bot commented Jul 18, 2026

Copy link
Copy Markdown

Wheel artifact

Built from commit 5f71717 — download from the workflow run (Artifacts section at the bottom of the page).

Artifact name: rpaframework-wheel (retained 14 days)

- install_local no longer adds the current package as its own editable
  dependency, and exits early when there's nothing else to link.
- get_package_paths now reads the package name from PEP 621 [project]
  tables in addition to legacy [tool.poetry] ones.
- Run uv add non-interactively (in_stream=False).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RPA.Desktop Wait for Element does not wait for element

1 participant