Lines Matching refs:command
22 * @see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#command-reference
260 * @param WebDriverCommand $command
265 public function execute(WebDriverCommand $command)
267 $http_options = $this->getCommandHttpOptions($command);
271 $sessionID = $command->getSessionID();
273 $params = $command->getParameters();
294 if ($command->getName() === DriverCommand::NEW_SESSION) {
399 protected function getCommandHttpOptions(WebDriverCommand $command)
401 $commandName = $command->getName();
404 throw new InvalidArgumentException($command->getName() . ' is not a valid command.');
409 $raw = self::$w3cCompliantCommands[$command->getName()];
411 $raw = self::$commands[$command->getName()];
414 if ($command instanceof CustomWebDriverCommand) {
415 $url = $command->getCustomUrl();
416 $method = $command->getCustomMethod();