Lines Matching defs:isW3cCompliant
51 protected $isW3cCompliant;
57 * @param bool $isW3cCompliant false to use the legacy JsonWire protocol, true for the W3C WebDriver spec
63 $isW3cCompliant = false
67 $this->isW3cCompliant = $isW3cCompliant;
146 * @param bool $isW3cCompliant True to use W3C WebDriver (default), false to use the legacy JsonWire protocol
156 $isW3cCompliant = func_num_args() > 4 ? func_get_arg(4) : true;
166 if (!$isW3cCompliant) {
170 return new static($executor, $session_id, null, $isW3cCompliant);
208 JsonWireCompat::getUsing($by, $this->isW3cCompliant)
225 JsonWireCompat::getUsing($by, $this->isW3cCompliant)
422 return new WebDriverOptions($this->getExecuteMethod(), $this->isW3cCompliant);
444 return new RemoteTargetLocator($this->getExecuteMethod(), $this, $this->isW3cCompliant);
453 $this->mouse = new RemoteMouse($this->getExecuteMethod(), $this->isW3cCompliant);
465 $this->keyboard = new RemoteKeyboard($this->getExecuteMethod(), $this, $this->isW3cCompliant);
625 public function isW3cCompliant()
627 return $this->isW3cCompliant;
641 if (!$isW3cCompliant = isset($responseValue['capabilities'])) {
645 if ($isW3cCompliant) {
651 return new static($commandExecutor, $response->getSessionID(), $returnedCapabilities, $isW3cCompliant);
666 $this->isW3cCompliant ?
701 return new RemoteWebElement($this->getExecuteMethod(), $id, $this->isW3cCompliant);