diff --git a/js/src/human-puppeteer/index.ts b/js/src/human-puppeteer/index.ts index cd70ca0..574440c 100644 --- a/js/src/human-puppeteer/index.ts +++ b/js/src/human-puppeteer/index.ts @@ -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(); diff --git a/js/src/human-puppeteer/scroll.ts b/js/src/human-puppeteer/scroll.ts index 5bd31d0..3c274b8 100644 --- a/js/src/human-puppeteer/scroll.ts +++ b/js/src/human-puppeteer/scroll.ts @@ -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, diff --git a/js/src/human/elementhandle.ts b/js/src/human/elementhandle.ts index 6dabcbf..898bdca 100644 --- a/js/src/human/elementhandle.ts +++ b/js/src/human/elementhandle.ts @@ -136,7 +136,7 @@ export function patchSingleElementHandle( // ``el.type(text, { human_config: { typing_delay: 30 } })`` carry through to // mouse movement & idle timing for that single call. // Also scrolls the element into view first so off-screen elements work - // (#129, #137 follow-up): otherwise boundingBox() returns null and we'd + // (#129, #172 follow-up): otherwise boundingBox() returns null and we'd // silently fall back to the unpatched native method. const moveToElement = async (callCfg: HumanConfig = cfg) => { // Ensure cursor is initialized diff --git a/js/src/human/scroll.ts b/js/src/human/scroll.ts index 4311ff4..a40376f 100644 --- a/js/src/human/scroll.ts +++ b/js/src/human/scroll.ts @@ -151,7 +151,7 @@ export async function humanScrollIntoView( * * ``timeout`` is forwarded to Playwright's ``boundingBox({ timeout })`` 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,