> For the complete documentation index, see [llms.txt](https://docs.pylenium.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pylenium.io/element-commands/actions/clear.md).

# clear

## Syntax

```python
Element.clear() -> Element
```

## Usage

{% code title="correct usage" %}

```python
py.get("input").clear()
```

{% endcode %}

## Arguments

* None

## Yields

* <mark style="color:orange;">**Element**</mark> - The current Element that was cleared so you can chain commands.
