Bug Description
1. Summary
*I am trying to get following informations from element using Appium.
- “focused” attribute is true or false*
*2. “description” attribute value
3. x,y value from block
All tries returned None. I confirmed attributes were there using driver.page_source.*
App Name: Custom Application (side loaded the build)
App Link on Amazon Appstore (found through Developer Console → Actions column in App List → View on Amazon.com):
Bug Severity
Select one that applies
-
Impacts operation of app
-
Blocks current development
-
Improvement suggestion
-
Issue with documentation (If selected, please share the doc link and describe the issue)
-
Other
2. Steps to Reproduce
`element = d.find_element('UiSelector', '{"args": {"focused": "true" }}')`
print(element.get_attribute(“focused”)
3. Observed Behavior
Explain what actually happened, noting any discrepancies or malfunctions.
Always returned None
4. Expected Behavior
Describe what you expected the SDK to do under normal operation.
returns value of the attribute.
4.a Possible Root Cause & Temporary Workaround
Fill out anything you have tried. If you don’t know, N/A is acceptable
I could use d.page_source and analyze on XML Tree.
6. Environment
Vega SDK: v0.22
7. Example Code Snippet / Screenshots / Screengrabs
Include any relevant code or component setup in React Native that can help reproduce the bug.
element = d.find_element('UiSelector', '{"args": {"focused": "true" }}') print(element.get_attribute(“focused”) //returns None