コード例 #1
0
 /**
  * @param mixed $value
  * @return $this
  * @throws WebDriverException
  */
 public function sendKeys($value)
 {
     $this->dispatch('beforeChangeValueOf', $this);
     try {
         $this->element->sendKeys($value);
     } catch (WebDriverException $exception) {
         $this->dispatchOnException($exception);
     }
     $this->dispatch('afterChangeValueOf', $this);
     return $this;
 }