Skip to content

Conversation

ikharebashviliGD
Copy link

Summary

This PR adds support for the minValue and maxValue attributes using private XCTest APIs.

Motivation

These attributes are important for elements like sliders and steppers, where they define the valid input range. Including them allows better validation, debugging, and automation for range-based UI components.

Implementation Notes

  • The values are retrieved using private attributes _XC_kAXXCAttributeMinValue and _XC_kAXXCAttributeMaxValue.
  • The attributes are only included in the page source (both JSON and XML) for elements that logically support them (e.g., XCUIElementTypeSlider, XCUIElementTypeStepper).
  • Values are returned as strings for consistency in both JSON and XML output.

@KazuCocoa KazuCocoa merged commit 0e4e7e7 into appium:master Jun 9, 2025
42 checks passed
github-actions bot pushed a commit that referenced this pull request Jun 9, 2025
## [9.14.0](v9.13.0...v9.14.0) (2025-06-09)

### Features

* add minimum and maximum value attributes to page source ([#1031](#1031)) ([0e4e7e7](0e4e7e7))
Copy link

github-actions bot commented Jun 9, 2025

🎉 This PR is included in version 9.14.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@KazuCocoa KazuCocoa added the size:M contribution size: M label Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released size:M contribution size: M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants