Skip to content

Commit a5821f7

Browse files
committed
Fix inconsistency POST function signatures
1 parent 3036a17 commit a5821f7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/WebDriver/Alert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @method array accept() Accept alert.
2020
* @method array dismiss() Dismiss alert.
2121
* @method array getText() Get alert text.
22-
* @method array postText() Send alert text.
22+
* @method array postText($json) Send alert text.
2323
*/
2424
class Alert extends AbstractWebDriver
2525
{

lib/WebDriver/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*
1919
* @method void accept_alert() Accepts the currently displayed alert dialog.
2020
* @method array deleteActions() Release actions.
21-
* @method array postActions() Perform actions.
21+
* @method array postActions($json) Perform actions.
2222
* @method string getAlert_text() Gets the text of the currently displayed JavaScript alert(), confirm(), or prompt() dialog.
2323
* @method void postAlert_text($jsonText) Sends keystrokes to a JavaScript prompt() dialog.
2424
* @method void back() Navigates backward in the browser history, if possible.

lib/WebDriver/Window.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @method array getPosition() Get position of the window.
2424
* @method void postPosition($json) Change position of the window.
2525
* @method array getRect() Get window rect.
26-
* @method array postRect() Set window rect.
26+
* @method array postRect($json) Set window rect.
2727
*/
2828
class Window extends AbstractWebDriver
2929
{

0 commit comments

Comments
 (0)