Skip to content

Commit

Permalink
Fix inconsistency POST function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
robocoder committed Dec 4, 2023
1 parent 3036a17 commit a5821f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/WebDriver/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @method array accept() Accept alert.
* @method array dismiss() Dismiss alert.
* @method array getText() Get alert text.
* @method array postText() Send alert text.
* @method array postText($json) Send alert text.
*/
class Alert extends AbstractWebDriver
{
Expand Down
2 changes: 1 addition & 1 deletion lib/WebDriver/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @method void accept_alert() Accepts the currently displayed alert dialog.
* @method array deleteActions() Release actions.
* @method array postActions() Perform actions.
* @method array postActions($json) Perform actions.
* @method string getAlert_text() Gets the text of the currently displayed JavaScript alert(), confirm(), or prompt() dialog.
* @method void postAlert_text($jsonText) Sends keystrokes to a JavaScript prompt() dialog.
* @method void back() Navigates backward in the browser history, if possible.
Expand Down
2 changes: 1 addition & 1 deletion lib/WebDriver/Window.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @method array getPosition() Get position of the window.
* @method void postPosition($json) Change position of the window.
* @method array getRect() Get window rect.
* @method array postRect() Set window rect.
* @method array postRect($json) Set window rect.
*/
class Window extends AbstractWebDriver
{
Expand Down

0 comments on commit a5821f7

Please sign in to comment.