Skip to content

Commit 7d73968

Browse files
authored
Update Android element attributes names docs in _element.py (#421)
1 parent 9aead99 commit 7d73968

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

AppiumLibrary/keywords/_element.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,8 @@ def element_attribute_should_match(self, locator, attr_name, match_pattern, rege
247247
248248
249249
_*NOTE: *_
250-
On Android the supported attribute names are hard-coded in the
251-
[https://github.com/appium/appium/blob/master/lib/devices/android/bootstrap/src/io/appium/android/bootstrap/AndroidElement.java|AndroidElement]
252-
Class's getBoolAttribute() and getStringAttribute() methods.
253-
Currently supported (appium v1.4.11):
254-
_contentDescription, text, className, resourceId, enabled, checkable, checked, clickable, focusable, focused, longClickable, scrollable, selected, displayed_
250+
On Android the supported attribute names can be found in the uiautomator2 driver readme:
251+
[https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#element-attributes]
255252
256253
257254
_*NOTE: *_

0 commit comments

Comments
 (0)