Testing_Selenium::type
Sets the value of an input field, as though you typed it in.
<p> Can also be used to set the value of combo boxes, check boxes, etc. In these cases, value should be the value of the option selected, not the visible text. </p>
Signature
public function type(string
$locator,
string
$value )
Parameters
-
$locator
- an element locator
-
$value
- the value to type