demo: checkout agent fails on disabled button

id=9a265f9f-fa52-45db-b5e3-e75ee56bec22 · status=failed · 4 steps
RuntimeError: button was disabled; click did not submit the form
step 0
STEP 0
open checkout page ok
https://shop.example.test/checkout
Model input
{"task": "Complete checkout for the current cart.", "observation": "Checkout page loaded."}
Model output
{"thought": "I need to inspect the checkout form before submitting.", "next_action": "inspect form"}
step 1
STEP 1
inspect payment form ok
https://shop.example.test/checkout
Model input
{"visible_fields": ["email", "card", "shipping"], "button_text": "Place order"}
Model output
{"thought": "All fields appear complete. I should click the primary checkout button.", "selector": "button.checkout.primary", "next_action": "click"}
step 2
STEP 2
model selects checkout button ok
https://shop.example.test/checkout
Model input
{"dom_snippet": "<button class='checkout primary' disabled>Place order</button>"}
Model output
{"thought": "The primary checkout button is the correct target.", "selector": "button.checkout.primary", "risk": "The model missed the disabled attribute."}
step 3
STEP 3
click disabled checkout button error
https://shop.example.test/checkout
RuntimeError: button was disabled; click did not submit the form
Model input
{"selector": "button.checkout.primary"}
Model output
{"action": "click", "selector": "button.checkout.primary", "expected": "Order confirmation page"}