Beispiel #1
0
 /**
  * Sends a special key
  * Deprecated due to issues with IE webdriver. Use keys() method instead
  * @deprecated
  * @param string $name
  * @throws PHPUnit_Extensions_Selenium2TestCase_Exception
  * @see PHPUnit_Extensions_Selenium2TestCase_KeysHolder
  */
 public function keysSpecial($name)
 {
     $names = explode(',', $name);
     foreach ($names as $key) {
         $this->keys($this->keysHolder->specialKey(trim($key)));
     }
 }
Beispiel #2
0
 /**
  * @param string $name
  * @return string
  */
 public function specialKey($name)
 {
     return $this->keys($this->keysHolder->specialKey($name));
 }