Get Value
Please read the Material Usage Rules on this site.
Description
This action is used to get attribute values from a specific element.
For example:
- height/width
- inner text
- center coordinates
- element id
- and more
Why is it helpful?
It lets you check whether an element is present on a page. Used for:
- Checking authorization
For instance, when a user is logged into the app, a button to open the personal account or a logout icon appears. If either of these exists, you're good—you're logged in. - Finding error messages
Useful when solving captchas. If a captcha is entered incorrectly, often a new element with an error message pops up. In this case, you'll need to try solving the captcha again.
How to add it to your project
Use the canvas context menu:
Add Action → Android → Get Value

Select an element to get a value from
Any shortcut on the main screen can be an element, for example, Play Market. Right-click on it → To the Action Designer.

After that, the Action Designer opens at the bottom under the browser window.

The search data will be picked so that only one element remains in the result.
Explanation of points
1. In Action, choose Get.
2. Coordinates are stored in the bounds attribute.
3. The first brackets [] are the top-left corner coordinates, the second—bottom-right corner.
Step-by-step:
- Choose bounds from the Attribute dropdown.
- Coordinates will appear in the Value field (e.g.,
[530,120][750,253]). - Test it before adding the action to the project—click Test.
- It's recommended to add a comment to the action for clarity.
- Finish by clicking Add to project.
Configuring the action
"Main" tab
