Add random delay
(min_ms: int = 100, max_ms: int = 500)
| 61 | |
| 62 | @staticmethod |
| 63 | def random_delay(min_ms: int = 100, max_ms: int = 500): |
| 64 | """Add random delay""" |
| 65 | time.sleep(random.uniform(min_ms / 1000, max_ms / 1000)) |
| 66 | |
| 67 | @staticmethod |
| 68 | def human_type(page: Page, selector: str, text: str, wpm_min: int = 320, wpm_max: int = 480): |
no outgoing calls
no test coverage detected