fix(js): correct issue references #137#172 in humanize comments

This commit is contained in:
CloakHQ
2026-04-28 20:37:09 +02:00
parent 661b873dad
commit 2df8c7e2d1
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -612,7 +612,7 @@ function patchSingleElementHandle(
// --- Helper: get box and move cursor. Accepts a per-call ``callCfg``
// so type/fill overrides like ``el.type(text, { human_config: {...} })``
// carry through to mouse timing for that single call. Also scrolls into
// view first so off-screen elements work (#129, #137 follow-up).
// view first so off-screen elements work (#129, #172 follow-up).
const moveToElement = async (callCfg: HumanConfig = cfg) => {
await (page as any)._ensureCursorInit();
+1 -1
View File
@@ -188,7 +188,7 @@ export async function humanScrollIntoView(
*
* ``timeout`` controls how long we poll ``page.$(selector)`` before giving up,
* so callers like ``page.click('#x', { timeout: 5000 })`` can wait longer for
* slow-loading elements (#137). Default stays 2000ms when not specified.
* slow-loading elements (#172). Default stays 2000ms when not specified.
*/
export async function scrollToElement(
page: Page,