From 2813b3dc4c8de2223dd58f5bf500845895b5073f Mon Sep 17 00:00:00 2001 From: CloakHQ Date: Wed, 18 Mar 2026 07:47:29 +0100 Subject: [PATCH] docs: warn that ElementHandle bypasses humanize patches --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8726dc2..42335f9 100644 --- a/README.md +++ b/README.md @@ -501,6 +501,8 @@ const browser = await launch({ Access the original un-patched Playwright page at `page._original` if you need raw speed for a specific call. +> **Note:** Always use `page.click(selector)`, `page.type(selector, text)`, `page.hover(selector)`, or `page.locator(selector).*` — these go through the full humanize pipeline. Avoid `page.query_selector()` — `ElementHandle` objects bypass all patches, so mouse movement teleports, keyboard events fire without timing, and scroll has no human curve. + > Contributed by [@evelaa123](https://github.com/evelaa123) — full Playwright API coverage. ## Configuration