From 84ae6952484c0784be9e0d63988da18d1a5a0909 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 25 Mar 2024 19:15:37 +0100 Subject: [PATCH] Update docs/src/api/class-page.md Signed-off-by: Max Schmitt --- docs/src/api/class-page.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index fc6c201897..fdc3fa165a 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -3160,7 +3160,7 @@ Things to keep in mind: * The execution time of the handler counts towards the timeout of the action/assertion that executed the handler. If your handler takes too long, it might cause timeouts. * You can register multiple handlers. However, only a single handler will be running at a time. Make sure the actions within a handler don't depend on another handler. -:::warning[Warning] +:::warning Running the handler will alter your page state mid-test. For example it will change the currently focused element and move the mouse. Make sure that actions that run after the handler are self-contained and do not rely on the focus and mouse state being unchanged.