feat: 收口 Rust Web 3000 主链

This commit is contained in:
lix-2026
2026-05-11 13:16:34 +08:00
parent 7f3f7d4e2f
commit 17c003976b
61 changed files with 2090 additions and 2256 deletions
@@ -353,7 +353,12 @@ async function renameThroughPageHead(page, documentId, title) {
return false;
}
const payload = response.request().postDataJSON();
return payload?.documentId === documentId && payload?.title === title && response.ok();
return (
payload?.documentId === documentId &&
payload?.title === title &&
payload?.commandName === "page.head.updateTitle" &&
response.ok()
);
},
{ timeout: UI_TIMEOUT_MS },
);