cdp-toolkit 1.10.0 → 2.0.0

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.
@@ -25,7 +25,9 @@ export interface NavigatePageArgs {
25
25
  /**
26
26
  * When reloading, bypass the HTTP cache (hard reload) so freshly-deployed,
27
27
  * non-content-hashed bundles are refetched instead of served stale. Ignored
28
- * unless `reload` is true.
28
+ * unless `reload` is true. Chrome only: Firefox's BiDi server rejects the
29
+ * ignoreCache argument outright (even `false`), so the Firefox driver omits
30
+ * the key on plain reloads and throws a clear unsupported error when true.
29
31
  */
30
32
  ignoreCache?: boolean;
31
33
  /** Which load milestone to wait for. Defaults to 'load'. */
@@ -197,6 +199,6 @@ function delay(ms: number): Promise<void> {
197
199
  * - Runtime.evaluate (poll document.body.innerText)
198
200
  *
199
201
  * Parity gaps vs chrome-devtools-mcp:
200
- * - navigate_page: no automatic "snapshot of the new page" return; we return {url,frameId,waitedFor}. waitUntil supports 'load'|'domcontentloaded' only (no 'networkidle'). reload:true (+ignoreCache for a hard reload) covers the MCP's reload navigation type.
202
+ * - navigate_page: no automatic "snapshot of the new page" return; we return {url,frameId,waitedFor}. waitUntil supports 'load'|'domcontentloaded' only (no 'networkidle'). reload:true (+ignoreCache for a hard reload, Chrome only — Firefox rejects the argument outright) covers the MCP's reload navigation type.
201
203
  * - wait_for: only text-substring waiting (innerText.includes); no aria/role/selector or "wait for event" variants. Throws on timeout rather than returning {found:false}.
202
204
  */