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
@@ -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
+1 -1
View File
@@ -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,