feat: 收口 Rust Web 3000 主链
This commit is contained in:
@@ -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 },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user