From 6267810186b2ffbcacc8c7e511e70428107ed537 Mon Sep 17 00:00:00 2001 From: Luc Gagan Date: Sat, 11 Nov 2023 08:37:23 -0600 Subject: [PATCH] feat: add locator.boundingBox --- src/completeTask.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/completeTask.ts b/src/completeTask.ts index 22d8601..b931863 100644 --- a/src/completeTask.ts +++ b/src/completeTask.ts @@ -162,7 +162,8 @@ export const completeTask = async ( return await getLocator(args.elementId).boundingBox(); }, name: "locator_boundingBox", - description: "This method returns the bounding box of the element matching the locator, or null if the element is not visible. The bounding box is calculated relative to the main frame viewport - which is usually the same as the browser window. The returned object has x, y, width, and height properties.", + description: + "This method returns the bounding box of the element matching the locator, or null if the element is not visible. The bounding box is calculated relative to the main frame viewport - which is usually the same as the browser window. The returned object has x, y, width, and height properties.", parse: (args: string) => { return z .object({