Nearsoft\SeleniumClient\Alert::getText PHP Метод

getText() публичный Метод

Gets the text of the alert.
public getText ( ) : String
Результат String
    public function getText()
    {
        $command = new Commands\Command($this->_driver, 'get_alert_text');
        $results = $command->execute();
        return $results['value'];
    }