Debug tests with AI
After you connect the Endform MCP server, your coding agent can pause inside one Playwright test on Endform’s remote infrastructure. It can inspect the accessibility tree, run JavaScript with access to fixtures such as page, interact with the browser, and collect screenshots while the test remains paused.
Start from your project directory and identify the test you want to debug as precisely as possible. A test file and title are usually enough; add the Playwright project when the same test runs in multiple projects.
Example conversationWhy does this button never become enabled?
Tool call:
debug_test_startcheckout test by file and title, paused before the failing assertionTool call:
debug_test_runinspect the Pay now button and visible form stateTool call:
debug_test_runread saved-card requests and client-side errorsTool call:
debug_test_runcapture a screenshot of the paused checkoutTool call:
debug_test_stopclean up the completed debug sessionExample conversationWhy can Playwright see two matching dialogs?
Tool call:
debug_test_startsettings test declaration, paused at source line 84Tool call:
debug_test_runlist every dialog with visibility and ARIA detailsTool call:
debug_test_runinspect the duplicate dialog's DOM ancestryTool call:
debug_test_stopclean up the completed debug sessionExample conversationWhy does this fail only in WebKit?
Tool call:
debug_test_startprofile-menu test in the WebKit projectTool call:
debug_test_runopen the menu and inspect its accessible itemsTool call:
debug_test_runcompare focus and element geometry after the clickTool call:
debug_test_runtry the keyboard interaction used by the componentTool call:
debug_test_stopclean up the completed debug sessionExample conversationCheck a proposed fix in the live session
Tool call:
debug_test_startaccount settings test paused before its save assertionTool call:
debug_test_runperform the save and wait for the success toastTool call:
debug_test_runverify the persisted value through the page UITool call:
debug_test_stopclean up the completed debug sessionDebug sessions select exactly one test and end automatically after 15 minutes. The agent should stop the session when it finishes. See the debugging tool reference for selection options and return values.