tool_diagnose_editor
Diagnose CSDN markdown editor UI drift and broken selectors: probe title, content, save, publish, and tag elements to report matched fallbacks when publish fails.
Instructions
Diagnose the CSDN markdown editor to detect UI drift / broken selectors.
Opens the CSDN editor with your saved session and probes every key element (title display/input, content editor, save-draft button/item, publish button, tag/category inputs, dialog publish button). For each selector it reports which fallback matched (or none), so when publish_csdn starts failing you can run this to see exactly which selectors CSDN changed and update SELECTORS in publisher.py accordingly.
Requires a saved session — call csdn_login first.
Args: headless: Run headless (default True). Set False to watch. timeout_ms: Per-action timeout in milliseconds.
Returns: dict with {ok, url, results: {element: matched_selector | null}, needs_login?, message?}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| headless | No | ||
| timeout_ms | No |