"""A submit we never located must prove the payload rendered before it counts as delivered. Measured live on LinkedIn's feed composer 2026-07-28: both structured resolvers missed, so the tail fell back to clicking a button literally named "Send". LinkedIn's feed composer submits with "Post", so that click landed on some OTHER widget's Send, returned no error, and the composer cleared anyway. Receipt passed. `sent_receipt=True`. Nothing was posted, on either the posts or the comments tab. That is the dangerous direction: a cleared composer cannot tell "submitted" from "dismissed", and every honesty guarantee downstream is built on that receipt. So the guessed path, and only the guessed path, has to show the text actually rendered on the page. The two resolved paths keep their measured speed and are untouched. """ import pytest from backend.apps.agents.browser import browser_send_script as ss PAYLOAD = "hello from my automation" COMMITTED = f'[2]' CLEARED = '[2]\n[9]