1.9 KiB
1.9 KiB
Editor Flow
This skill is based on the preserved source flow in assets/zhihu_write_flow.source.json.
Entry Points
- Creator center entry URL:
https://www.zhihu.com/creator - BrowserAttached direct editor URL:
https://www.zhihu.com/creator/posts/new
https://zhuanlan.zhihu.com/write exists in the preserved source flow, but it is not the default entry point inside the current SuperRPA browser host because the host domain policy only guarantees www.zhihu.com.
The current BrowserAttached flow enters creator center first, then uses the packaged browser-script tools to resolve whether the session is blocked by login, already in the editor, or needs the canonical creator editor route.
Required Inputs
titlebody
Both fields must be non-empty before any browser action starts.
Core Sequence
- Navigate to creator center.
- Click the write-article entry.
- Wait for the title input in the editor domain.
- Fill the title with
clear_first = true. - Fill the body editor with
clear_first = true. - If publish mode:
- scroll to the publish button
- click publish
- wait for publish confirmation dialog
- click confirm publish
- wait for published title
- verify published title text
Readiness Checks
- The editor is considered ready only after the title input appears.
- The publish flow is not complete until at least one post-publish verification succeeds.
URL Capture Rules
- Pre-publish clicks may return an editor URL.
- A valid published article URL should match the published article prefix and should not end in
/edit. - If publish mode finishes without a published article URL, treat the run as unconfirmed even if some clicks succeeded.
Known Brittle Points
- creator-center article entry selector
- placeholder-based title input selector
- generic primary-button publish selectors
These should be revalidated before any live publish run.