# Landmark

A named condition that says where a program is, such as being on the login page or being logged in.

Landmarks let a job recognise pages instead of assuming them. logged_in and login_page are reserved: Kaabist uses them to check a session is still valid and to tell a redirect to the login page from a page that genuinely changed.

```
{
  "landmarks": {
    "login_page": {
      "visible": "form[action*=login]"
    },
    "logged_in": {
      "url": "**/dashboard"
    }
  }
}
```

## Related

- [Sessions and schedules](/product/sessions-and-schedules)
- [Scrape a website that requires login](/use-cases/scrape-behind-login)
- [Browser session](/glossary/browser-session)
- [Session probe](/glossary/session-probe)
