You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error when I run pnpm shortest --debug-ai -
❌ Browser Action Failed: page.evaluate: Execution context was destroyed, most likely because of a navigation
Before the error, it is able to correctly identify the products -
🤖 Prompt: Test: "test adding a product to the cart"
Callback function: [NO_CALLBACK]
Expect:
1. "test adding a product to the cart" expected to be successful
Current Page State:
URL: https://fragrancelord.com/
Title: FragranceLord.com - Niche Fragrances, Luxury Perfumes, & Samples – Fragrancelord.com
🤖 AI: Let me help execute the test for adding a product to the cart. First, I'll take a screenshot to locate products and the elements we need to interact with.
🔧 Tool Request: { tool: 'computer', input: { action: 'screenshot' } }
Screenshot saved to: /Users/muni/Documents/shortest/.shortest/screenshots/screenshot-2025-01-24T02-17-03-558Z.png
🤖 AI: I see several Creed fragrances displayed. Let's select one and add it to the cart. I'll choose the first product (Creed Les Royales Exclusives Sublime Vanille).
1. First, let's click on the product:
🔧 Tool Request: {
tool: 'computer',
input: { action: 'mouse_move', coordinate: [ 345, 381 ] }
}
🔧 Tool Request: { tool: 'computer', input: { action: 'left_click' } }
Expected behavior
I would expect it to be able to click on a product and add it to the cart
Version
No response
Repository URL
https://github.com/rmarescu/shortest-example-289
Actual behavior
I am getting this error when I run
pnpm shortest --debug-ai
-Before the error, it is able to correctly identify the products -
Expected behavior
I would expect it to be able to click on a product and add it to the cart
System Info
System: OS: macOS 15.1.1 CPU: (8) arm64 Apple M1 Pro Memory: 3.91 GB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 23.6.1 - /opt/homebrew/bin/node npm: 10.9.2 - /opt/homebrew/bin/npm pnpm: 10.0.0 - /opt/homebrew/bin/pnpm Browsers: Chrome: 131.0.6778.265 Safari: 18.1.1 npmPackages: @antiwork/shortest: ^0.4.2 => 0.4.2
Validations
The text was updated successfully, but these errors were encountered: