browserclaw 0.3.2 → 0.3.3

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.
package/dist/index.js CHANGED
@@ -742,7 +742,7 @@ async function getPageForTargetId(opts) {
742
742
  const found = await findPageByTargetId(browser, opts.targetId, opts.cdpUrl);
743
743
  if (!found) {
744
744
  if (pages.length === 1) return first;
745
- throw new Error(`Tab not found (targetId: ${opts.targetId}). Use browser.tabs() to list open tabs.`);
745
+ throw new Error("tab not found");
746
746
  }
747
747
  return found;
748
748
  }