From 04da468b7f332b45b9d6388f727c7e74857d02b9 Mon Sep 17 00:00:00 2001 From: "Tommy D. Rossi" Date: Mon, 24 Nov 2025 20:09:17 +0100 Subject: [PATCH] prompt --- playwriter/src/prompt.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playwriter/src/prompt.md b/playwriter/src/prompt.md index c88ef93..6a582fb 100644 --- a/playwriter/src/prompt.md +++ b/playwriter/src/prompt.md @@ -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