(page)
| 219 | await explanationDone(page); |
| 220 | } |
| 221 | async function newConversation(page) { |
| 222 | const button = page.locator('.cbm-chat-header .cbm-chat-new'); |
| 223 | if (!(await button.count())) return; |
| 224 | page.once('dialog', (dialog) => { void dialog.accept(); }); |
| 225 | await button.click(); |
| 226 | await wait(600); |
| 227 | } |
| 228 | |
| 229 | /* ------------------------------------------------------------------ */ |
| 230 | /* Checks */ |