From cef0ee2d6e9696b6028cb01ac81793b24db91dbf Mon Sep 17 00:00:00 2001 From: Nikhil Jain Date: Tue, 24 Mar 2026 13:18:24 +0000 Subject: [PATCH] bug: implement missing bringToFront function --- bin/lib/handlers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/lib/handlers.js b/bin/lib/handlers.js index 9bb5ee6..150c1b1 100644 --- a/bin/lib/handlers.js +++ b/bin/lib/handlers.js @@ -235,7 +235,8 @@ class PageHandler extends BaseHandler { waitForLoadState: () => page.waitForLoadState(command.state || 'load', command.options), frames: () => this.getFrames(page), frame: () => this.getFrame(page, command), - waitForPopup: () => this.waitForPopup(page, command) + waitForPopup: () => this.waitForPopup(page, command), + bringToFront: () => page.bringToFront(), }); return await ErrorHandler.safeExecute(() => this.executeWithRegistry(registry, method), { method, pageId: command.pageId });