"""Send-script mechanism, verified without a live webview: real LinkedIn-shaped interactives fixtures driven through a mock executor exercise the exact path the live rig would (opener -> composer -> fill -> commit-check -> send -> clear-check), plus every abort/honesty branch. The wall-clock a live run measures is not here; the correctness the live run would prove is.""" import pytest from backend.apps.agents.browser import browser_send_script as ss from backend.apps.agents.browser import browser_send_parse as sp from backend.apps.agents.browser.browser_agent import send_submit_index_in_state, payload_in_textbox PROFILE = '[22]*\n[50]*\n[51]