Repository navigation
refactor: normalize path values in AppiumServiceBuilder without driver capability names - #2536
Merged
Merged
Conversation
mykola-mokhnach
requested review from
SrinivasanTarget,
saikrishna321 and
valfirst
as code owners
December 4, 2026 22:26
…instead of importing android types Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
mykola-mokhnach
force-pushed
the
arch/p1-service-builder-edge
branch
from
December 4, 2026 22:29
41a216b to
122a306
Compare
…e Windows quoting Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change list
Part of #2513 (Phase 1). Removes the last
core -> driveredges:AppiumServiceBuilderimported two Android option mixins only to know the names of path capabilities. The dependency baseline is now empty.AppiumServiceBuilder#withCapabilities(caps, true)(the deprecated--default-capabilitiesmode on Windows) turned backslashes into/for 3 capability names:app,chromedriverExecutableandkeystorePath. Now it does so for every string value: a raw backslash breaks the JSON that the server parses (unless it forms a valid escape), so the value-based rewrite loses almost nothing, core knows no capability names, and it covers relative paths and the paths of any driver.The old name match used the unprefixed names, while capabilities built from the options classes carry the
appium:prefix, so it only matched hand-written plain names. That is fixed too. The quoting method is now package-private and covered by a unit test (it only runs on Windows otherwise).The
core -> androidlines are removed from the dependency baseline, which is now empty (the file must stay empty from here).Types of changes