Update docs/src/api/class-page.md

Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-03-25 19:15:24 +01:00 committed by GitHub
parent 3e456c5df9
commit 15c8b3172c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
<br />
<br />