Skip to content

Commit b56a3d4

Browse files
feat: Include 'hittable' attribute (#1918)
1 parent 5d674af commit b56a3d4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

docs/element-attributes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ selected | Whether the element is [selected](https://developer.apple.com/documen
1717
index | Element's index in the hierarchy relatively to its parent. Only available since Appium 1.20.0. Indexing starts from `0`. | '2'
1818
rect | Element's rectangle. The actual data of this attribute is based on element's [frame](https://developer.apple.com/documentation/xctest/xcuielementattributes/1500911-frame?language=objc). | {'x': 0, 'y': 0, 'width': 100, 'height': 100}
1919
value | Element's value. This is a complex attribute, whose calculation algorithm depends on the actual element type. Check [WebDriverAgent sources](https://github.com/appium/WebDriverAgent/blob/master/WebDriverAgentLib/Categories/XCUIElement%2BFBWebDriverAttributes.m) to know more about how it is compiled (method `- (NSString *)wdValue`). Could be `null` | 'hello'
20-
21-
20+
hittable | Whether the element is [hittable](https://developer.apple.com/documentation/xctest/xcuielement/1500561-hittable). This attribute is not included into the XML page source due to performance reasons, although you can use it in element locators or fetch its value using [getAttribute](https://www.w3.org/TR/webdriver2/#get-element-attribute) API. *Only available since driver version 4.35*. | 'true'

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"appium-ios-device": "^2.5.4",
7474
"appium-ios-simulator": "^5.1.3",
7575
"appium-remote-debugger": "^10.0.0",
76-
"appium-webdriveragent": "^5.6.0",
76+
"appium-webdriveragent": "^5.8.0",
7777
"appium-xcode": "^5.1.4",
7878
"async-lock": "^1.4.0",
7979
"asyncbox": "^2.9.4",

0 commit comments

Comments
 (0)