From a6fdc53d36482b5e41175b0059e5ee556d8e2ab1 Mon Sep 17 00:00:00 2001 From: CanadaHonk Date: Thu, 5 Jan 2023 20:19:03 +0000 Subject: [PATCH] idle: minor cleanup --- src/api/idle.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/idle.js b/src/api/idle.js index cda2207..16c2401 100644 --- a/src/api/idle.js +++ b/src/api/idle.js @@ -143,9 +143,6 @@ export default async (CDP, { browserType }) => { log(`idle API active (window id: ${windowId})`); if (autoEnabled) startAuto(); - const setWindowState = async state => await CDP.send('Browser.setWindowBounds', { windowId, bounds: { windowState: state }}); - - return { hibernate, sleep,