@mastra/agent-browser 0.5.5-alpha.0 → 0.5.5

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.cjs CHANGED
@@ -1435,13 +1435,12 @@ var AgentBrowser = class extends _mastra_core_browser.MastraBrowser {
1435
1435
  success: true,
1436
1436
  hint: `Element is now ${state}. Take a snapshot to continue.`
1437
1437
  };
1438
- } else {
1439
- await (await this.getPage(threadId)).waitForTimeout(timeout);
1440
- return {
1441
- success: true,
1442
- hint: "Wait complete. Take a snapshot to see current state."
1443
- };
1444
1438
  }
1439
+ await (await this.getPage(threadId)).waitForTimeout(timeout);
1440
+ return {
1441
+ success: true,
1442
+ hint: "Wait complete. Take a snapshot to see current state."
1443
+ };
1445
1444
  } catch (error) {
1446
1445
  return this.createErrorFromException(error, "Wait");
1447
1446
  }