Пример #1
0
 /**
  * Maximizes a window.
  *
  * @return WindowList
  */
 public function maximize($name = 'current')
 {
     if (null === $name) {
         $name = 'current';
     }
     $this->browser->request('POST', 'window/' . urlencode($name) . '/maximize');
     return $this;
 }
Пример #2
0
 public function request($verb, $path = null, $content = null, array $headers = array())
 {
     return $this->browser->request($verb, $path, $content, $headers);
 }