PHP Class Nearsoft\SeleniumClient\SelectElement

Afficher le fichier Open project: nearsoft/php-selenium-client Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public __construct ( WebElement $element )
$element WebElement

getElement() public méthode

Gets related WebElement
public getElement ( ) : WebElement
Résultat WebElement

selectByPartialText() public méthode

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

selectByValue() public méthode

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