Пример #1
0
 /**
  * Handles the key up of a keyboard modifier
  *
  * @param string $modifier The modifier to handle (see self::MODIFIER_*)
  */
 protected function keyUpModifier($modifier)
 {
     switch ($modifier) {
         case self::MODIFIER_CTRL:
             throw new UnsupportedDriverActionException('Ctrl key is not supported by %s', $this);
         case self::MODIFIER_ALT:
             $this->browser->altKeyUp();
             break;
         case self::MODIFIER_SHIFT:
             $this->browser->shiftKeyUp();
             break;
         case self::MODIFIER_META:
             $this->browser->metaKeyUp();
             break;
     }
 }