From 3b60ad1c39133ed45f72058353f6b6bb26e6b627 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 21 Nov 2017 10:13:44 +0300 Subject: [PATCH] doc(api.md): ElementHandle.boundingBox() returns a promise (#1437) --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index a526aa3f561..03095cad339 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1794,7 +1794,7 @@ The method runs `element.querySelectorAll` within the page. If no elements match - returns: <[elementhandle]> #### elementHandle.boundingBox() -- returns: +- returns: <[Promise]> - x <[number]> the x coordinate of the element in pixels. - y <[number]> the y coordinate of the element in pixels. - width <[number]> the width of the element in pixels.