# geni browser close

> Close the open session, save the login back onto the profile, and stop billing.

Source: https://docs.generalinput.com/cli/browser/close



```sh
geni browser close [flags]
```

Saves the session's cookies and storage back onto the profile it was opened from, releases the hosted browser, stops billing, and stops the keepalive. Run it whenever a script session is done, including after a failure.

| Flag     | Notes                    |
| -------- | ------------------------ |
| `--json` | Machine-readable output. |

## Output [#output]

```
✓ Browser session closed
```

With no open session it prints `No open browser session.` and exits `0`.
