MCPcopy Create free account
hub / github.com/QLHazyCoder/FlowPilot / deleteCurrentMailboxMessage

Function deleteCurrentMailboxMessage

content/inbucket-mail.js:157–166  ·  view source on GitHub ↗
(step)

Source from the content-addressed store, hash-verified

155}
156
157async function deleteCurrentMailboxMessage(step) {
158 try {
159 const deleteButton = await waitForElement('.button-bar button.danger', 5000);
160 simulateClick(deleteButton);
161 log(`步骤 ${step}:已删除邮箱消息`, 'ok');
162 await sleep(1200);
163 } catch (err) {
164 log(`步骤 ${step}:删除邮箱消息失败:${err.message}`, 'warn');
165 }
166}
167
168async function handleMailboxPollEmail(step, payload) {
169 const {

Callers 1

handleMailboxPollEmailFunction · 0.85

Calls 4

waitForElementFunction · 0.85
simulateClickFunction · 0.85
logFunction · 0.85
sleepFunction · 0.85

Tested by

no test coverage detected