public function sendKeys($string)
{
if (is_string($string)) {
$params = array('text' => $string);
$command = new Commands\Command($this->_driver, 'set_alert_text', $params);
$command->execute();
} else {
throw new \Exception("Value must be a string");
}
}