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'];
    }