Skip to content

Commit

Permalink
Update Android element attributes names docs in _element.py (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl authored Apr 29, 2024
1 parent 9aead99 commit 7d73968
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions AppiumLibrary/keywords/_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,8 @@ def element_attribute_should_match(self, locator, attr_name, match_pattern, rege
_*NOTE: *_
On Android the supported attribute names are hard-coded in the
[https://github.com/appium/appium/blob/master/lib/devices/android/bootstrap/src/io/appium/android/bootstrap/AndroidElement.java|AndroidElement]
Class's getBoolAttribute() and getStringAttribute() methods.
Currently supported (appium v1.4.11):
_contentDescription, text, className, resourceId, enabled, checkable, checked, clickable, focusable, focused, longClickable, scrollable, selected, displayed_
On Android the supported attribute names can be found in the uiautomator2 driver readme:
[https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#element-attributes]
_*NOTE: *_
Expand Down

0 comments on commit 7d73968

Please sign in to comment.