switch_to_window_by_title
Switches focus to an open window by matching its title. Uses case-insensitive substring matching by default; set exact=true for a full title match.
Instructions
Switch focus to a window by its title. By default uses case-insensitive substring matching so partial titles work (e.g. "Notepad" matches "Untitled - Notepad"). Set exact=true to require a full case-insensitive match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | If true, require an exact case-insensitive title match. Default: false (substring match) | |
| title | Yes | Window title (or partial title) to match |