You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: site/content/guides/auto-waiting-methods.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ tags:
8
8
- FAQ
9
9
---
10
10
11
-
Hard waits and artificual timeouts should be avoided in Playwright because they lead to tests that:
11
+
Hard waits and artificial timeouts should be avoided in Playwright because they lead to tests that:
12
12
13
13
- are flaky.
14
14
- take longer than necessary to execute.
@@ -255,7 +255,7 @@ See response body waiting in action as demonstrated by Stefan here:
255
255
256
256
## 4. Implement your own auto-waiting and retry mechanism
257
257
258
-
If there's no way to change the application code and no obvious network request to wait for, you could also make your tests pass by implementing you own retry mechanisms.
258
+
If there's no way to change the application code and no obvious network request to wait for, you could also make your tests pass by implementing your own retry mechanisms.
259
259
260
260
If we consider the modal example, you can try to repeat your actions until they pass. If your first button click doesn't yield the expected results (showing the modal), try it again until it does.
0 commit comments