From 15c8b3172c451f351fe0a09398caeb4d325135fc Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 25 Mar 2024 19:15:24 +0100 Subject: [PATCH] Update docs/src/api/class-page.md Co-authored-by: Dmitry Gozman 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 916ecea033..fc6c201897 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. -:::danger[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.