# Approach 1: Using String for exposing elements

```java
private final String METRIC_UNIT_TAB = "//a[.='Metric Units']";
private final String AGE_TXT = "cage";
private final String MALE_RAD = "csex1";
private final String HEIGHT_TEXT = "cheightmeter";
private final String WEIGHT_TEXT = "ckg";
private final String CALCULATE_BTN = "//input[@alt=\"Calculate\"]";
private final String RESULT_LBL = "bigtext";
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tvn.gitbook.io/selenium-java/page-object-model/approach-1-using-string-for-exposing-elements.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
