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 cb05b06 commit dc18e7fCopy full SHA for dc18e7f
lib/WebDriver/Window.php
@@ -24,8 +24,6 @@
24
* @method void postPosition($json) Change position of the window.
25
* @method array getRect() Get window rect.
26
* @method array postRect() Set window rect.
27
- * @method array getSize() Get window size.
28
- * @method array postSize() Set window size.
29
*/
30
class Window extends AbstractWebDriver
31
{
@@ -48,6 +46,16 @@ protected function methods()
48
46
'minimize' => array('POST'),
49
47
'position' => array('GET', 'POST'),
50
'rect' => array('GET', 'POST'),
+ );
+ }
51
+
52
+ /**
53
+ * {@inheritdoc}
54
+ */
55
+ protected function obsoleteMethods()
56
+ {
57
+ return array(
58
+ // Legacy JSON Wire Protocol
59
'size' => array('GET', 'POST'),
60
);
61
}
0 commit comments