Nearsoft\SeleniumClient\Alert::getText PHP Méthode

getText() public méthode

Gets the text of the alert.
public getText ( ) : String
Résultat String
    public function getText()
    {
        $command = new Commands\Command($this->_driver, 'get_alert_text');
        $results = $command->execute();
        return $results['value'];
    }