idle: minor cleanup
This commit is contained in:
parent
b8ceaebfa6
commit
a6fdc53d36
@ -143,9 +143,6 @@ export default async (CDP, { browserType }) => {
|
|||||||
log(`idle API active (window id: ${windowId})`);
|
log(`idle API active (window id: ${windowId})`);
|
||||||
if (autoEnabled) startAuto();
|
if (autoEnabled) startAuto();
|
||||||
|
|
||||||
const setWindowState = async state => await CDP.send('Browser.setWindowBounds', { windowId, bounds: { windowState: state }});
|
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
hibernate,
|
hibernate,
|
||||||
sleep,
|
sleep,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user