PHP Class Nearsoft\SeleniumClient\Alert

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

Méthodes publiques

Méthode Description
__construct ( WebDriver $driver )
accept ( ) Accepts the alert.
dismiss ( ) Dismisses the alert.
getText ( ) : String Gets the text of the alert.
sendKeys ( String $string ) Sends keys to the alert.

Method Details

__construct() public méthode

public __construct ( WebDriver $driver )
$driver WebDriver

accept() public méthode

Accepts the alert.
public accept ( )

dismiss() public méthode

Dismisses the alert.
public dismiss ( )

getText() public méthode

Gets the text of the alert.
public getText ( ) : String
Résultat String

sendKeys() public méthode

Sends keys to the alert.
public sendKeys ( String $string )
$string String