We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40762a7 commit b686c5fCopy full SHA for b686c5f
lib/WebDriver/LegacyWindow.php
@@ -82,4 +82,16 @@ public function getHandle()
82
83
return $this->windowHandle;
84
}
85
+
86
+ /**
87
+ * Close window: /session/:sessionId/window (DELETE)
88
+ *
89
+ * @return mixed
90
+ */
91
+ public function close()
92
+ {
93
+ $result = $this->curl('DELETE', '');
94
95
+ return $result['value'];
96
+ }
97
lib/WebDriver/Window.php
@@ -93,4 +93,16 @@ public function getHandle()
98
99
100
101
102
103
104
105
106
107
108
0 commit comments