This commit is contained in:
Tommy D. Rossi
2025-11-24 20:09:17 +01:00
parent bbabad802c
commit 04da468b7f
+2
View File
@@ -44,6 +44,8 @@ state.localhostPage = pages[0];
await state.localhostPage.bringToFront();
```
IMPORTANT! never call bringToFront unless specifically asked by the user. It is very bothering to the user otherwise!
## rules
- only call `page.close()` if the user asks you so or if you previously created this page yourself with `newPage`. do not close user created pages unless asked