fix: resolve refs in input value (#139)

This commit is contained in:
Leon Gao
2026-01-17 19:05:06 -06:00
committed by GitHub
parent e6e832d2bc
commit 412ac63b68
+2 -2
View File
@@ -1507,8 +1507,8 @@ async function handleInputValue(
command: InputValueCommand,
browser: BrowserManager
): Promise<Response> {
const page = browser.getPage();
const value = await page.locator(command.selector).inputValue();
const locator = browser.getLocator(command.selector);
const value = await locator.inputValue();
return successResponse(command.id, { value });
}