()
| 760 | |
| 761 | // ------------------------------------- 6f. Kopfzeile, Hoehe, Tastatur |
| 762 | const scrollChatToEnd = () => |
| 763 | page.evaluate(() => { |
| 764 | const box = document.querySelector('[data-testid="atlas-chat-scroll"]'); |
| 765 | if (box !== null) { |
| 766 | box.scrollTop = box.scrollHeight; |
| 767 | } |
| 768 | return box === null ? 0 : box.scrollTop; |
| 769 | }); |
| 770 | |
| 771 | const headerVisible = async (label) => { |
| 772 | await scrollChatToEnd(); |