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