We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75fc97f commit 5f8d9b7Copy full SHA for 5f8d9b7
core/nut.js/lib/window.class.ts
@@ -86,6 +86,14 @@ export class Window implements WindowInterface {
86
return this.providerRegistry.getWindow().focusWindow(this.windowHandle);
87
}
88
89
+ async minimize() {
90
+ return this.providerRegistry.getWindow().minimizeWindow(this.windowHandle);
91
+ }
92
+
93
+ async restore() {
94
+ return this.providerRegistry.getWindow().restoreWindow(this.windowHandle);
95
96
97
async getElements(maxElements?: number): Promise<WindowElement> {
98
return this.providerRegistry.getWindowElementInspector().getElements(this.windowHandle, maxElements);
99
0 commit comments