---
description: >-
  This command will help you to click on a specified UI element in your web
  page.
---

# Jalenium Commands - Click on element

Jalenium Click -&#x20;

> Click( By locator)

```
Jalenium.Click(By.name("uid"));
```

> Click (String locator)

```
Jalenium.Click("xpath=//form/button");
```

```
Jalenium.Click("name=uid");
```

```
Jalenium.Click("text=Login");
```

```
Jalenium.Click("id=user_login");
```
