> 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/driver-commands/navigation/quit.md).

# quit

## Syntax

```python
py.quit() -> None
```

## Usage

{% code title="correct usage" %}

```python
py.quit()
```

{% endcode %}

{% code title="incorrect usage" %}

```python
# Errors, 'quit' terminates the current browser session
py.quit().get()
```

{% endcode %}

## Arguments

* None

## Yields

* None
