chromeflow 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CLAUDE.md +3 -2
  2. package/package.json +1 -1
package/CLAUDE.md CHANGED
@@ -109,9 +109,10 @@ Use the absolute path for `envPath` — it's the Claude Code working directory +
109
109
  - For multi-session tasks (long forms that may exceed context), call `save_page_state()` as a checkpoint. A future session can call `restore_page_state()` to reload all field values from the saved snapshot.
110
110
 
111
111
  ## Working with multiple tabs
112
- - `open_page(url, new_tab=true)` opens a URL without losing the current tab.
113
- - `list_tabs()` shows all open tabs with their index, title, and URL.
112
+ - Before opening a new tab, call `list_tabs()` to check if the target URL is already open use `switch_to_tab` to return to it instead of opening a duplicate.
113
+ - `open_page(url, new_tab=true)` opens a URL without losing the current tab. Use sparingly — prefer switching to an existing tab over opening a new one.
114
114
  - `switch_to_tab("1")` switches by tab number; `switch_to_tab("form")` matches by URL or title substring.
115
+ - `list_tabs()` shows all open tabs with their index, title, and URL.
115
116
 
116
117
  ## Error handling
117
118
  - After any action → `get_page_text()` to check for errors (not `take_screenshot`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromeflow",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "Browser guidance MCP server for Claude Code — highlights, clicks, fills, and captures from the web so you don't have to.",
5
5
  "type": "module",
6
6
  "bin": {