From d0f2bc0fa6880755d494f9711949317c56665cfb Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Mon, 20 Jan 2014 04:52:51 +0100 Subject: [PATCH] Changed the documented method to Element::value All other annotations in the class are documenting the magic methods without the get or post prefixes. --- lib/WebDriver/Element.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebDriver/Element.php b/lib/WebDriver/Element.php index 4674b61..f037ce5 100644 --- a/lib/WebDriver/Element.php +++ b/lib/WebDriver/Element.php @@ -31,7 +31,7 @@ * @method void click() Click on an element. * @method void submit() Submit a FORM element. * @method string text() Returns the visible text for the element. - * @method void postValue($json) Send a sequence of key strokes to an element. + * @method void value($json) Send a sequence of key strokes to an element. * @method string name() Query for an element's tag name. * @method void clear() Clear a TEXTAREA or text INPUT element's value. * @method boolean selected() Determine if an OPTION element, or an INPUT element of type checkbox or radiobutton is currently selected.