> ## Documentation Index
> Fetch the complete documentation index at: https://www.testmuai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Assert the Page Title in Kane CLI

> Verify the browser tab document.title, useful for confirming navigation reached the expected page.

Title assertions check the browser tab's document title (`document.title`).

## When It's Used

* Page title verification: "title contains Dashboard"
* Navigation confirmation: "title is Home Page"

## Examples

### Assertions

```
Assert: page title contains "Dashboard"
Assert: title is "My Account - Settings"
```

### Extractions

```
Store the page title
```

## How It Works

1. KaneAI reads `page.title()` directly
2. The title string is compared against the expected value
3. No screenshot or DOM analysis needed, this is a direct read

## Terminal First Testing With Kane CLI

Natural language browser & mobile app tests right from terminal.

Book a Demo

![Kane CLI terminal](https://assets.testmu.ai/resources/images/Terminal-KaneCLI.png)

×

Schedule Your Personal Demo

<form>
  Select Product

  Schedule Demo
</form>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.