Skip to content

fix: align options with the current driver capabilities - #2474

Merged
mykola-mokhnach merged 2 commits into
masterfrom
caps
Oct 12, 2026
Merged

mykola-mokhnach merged 2 commits into
masterfrom
caps

Conversation

@mykola-mokhnach

Copy link
Copy Markdown
Contributor

Fixes:

  • safari: use safari:deviceUDID (the driver ignores deviceUdid)
  • gecko: use its own SupportsSystemPortOption instead of the Mac2 one
  • treat userAgent as a standard W3C capability (no appium: prefix)
  • windows: add getAppArguments(); keep the misnamed setAppArguments() deprecated
  • espresso: add set/getEspressoServerLaunchTimeout; keep the old *Uiautomator2ServerInstallTimeout accessors deprecated
  • xcuitest: add set/getWebkitResponseTimeout to the webview option

Deprecated (no longer defined or read by the drivers):

  • xcuitest: appInstallStrategy, launchWithIDB, calendarAccessAuthorized, simpleIsVisibleCheck, waitForQuiescence, useSimpleBuildTest, includeDeviceCapsToSessionInfo, webkitResponseTimeout
  • base: eventTimings
  • android: skipLogCapture (use skipLogcatCapture), clearSystemFiles, enablePerformanceLogging; Espresso mjpegServerPort/mjpegScreenshotUrl

Docs: correct defaults, descriptions, copy-pasted Javadoc and stale links across the options classes. Driver sources were taken from the local checkouts, including the unreleased caps branches of the Android and XCUITest drivers.

Fixes:
- safari: use `safari:deviceUDID` (the driver ignores `deviceUdid`)
- gecko: use its own SupportsSystemPortOption instead of the Mac2 one
- treat `userAgent` as a standard W3C capability (no `appium:` prefix)
- windows: add `getAppArguments()`; keep the misnamed `setAppArguments()` deprecated
- espresso: add `set/getEspressoServerLaunchTimeout`; keep the old
  `*Uiautomator2ServerInstallTimeout` accessors deprecated
- xcuitest: add `set/getWebkitResponseTimeout` to the webview option

Deprecated (no longer defined or read by the drivers):
- xcuitest: appInstallStrategy, launchWithIDB, calendarAccessAuthorized,
  simpleIsVisibleCheck, waitForQuiescence, useSimpleBuildTest,
  includeDeviceCapsToSessionInfo, webkitResponseTimeout
- base: eventTimings
- android: skipLogCapture (use skipLogcatCapture), clearSystemFiles,
  enablePerformanceLogging; Espresso mjpegServerPort/mjpegScreenshotUrl

Docs: correct defaults, descriptions, copy-pasted Javadoc and stale links
across the options classes. Driver sources were taken from the local
checkouts, including the unreleased `caps` branches of the Android and
XCUITest drivers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Selenium moved the Java version out of java/version.bzl (now only a
reference to VERSIONS["java"]) into the root version.bzl, so the snapshot
jobs resolved the version as "java" and failed dependency resolution.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mykola-mokhnach
mykola-mokhnach merged commit 676633e into master Oct 12, 2026
12 checks passed
@mykola-mokhnach
mykola-mokhnach deleted the caps branch October 12, 2026 05:44
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.

2 participants