PHP Class Nearsoft\SeleniumClient\SelectElement

显示文件 Open project: nearsoft/php-selenium-client Class Usage Examples

Public Methods

Method Description
__construct ( WebElement $element )
getElement ( ) : WebElement Gets related WebElement
selectByPartialText ( String $text ) Sets an option selected by a partial text match
selectByValue ( String $value ) Sets an option selected by its value

Method Details

__construct() public method

public __construct ( WebElement $element )
$element WebElement

getElement() public method

Gets related WebElement
public getElement ( ) : WebElement
return WebElement

selectByPartialText() public method

Sets an option selected by a partial text match
public selectByPartialText ( String $text )
$text String

selectByValue() public method

Sets an option selected by its value
public selectByValue ( String $value )
$value String