File "RemoteExecuteMethod.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/php-webdriver/webdriver/lib/Remote/RemoteExecuteMethod.php
File size: 487 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Facebook\WebDriver\Remote;

class RemoteExecuteMethod implements ExecuteMethod
{
    /**
     * @var RemoteWebDriver
     */
    private $driver;

    public function __construct(RemoteWebDriver $driver)
    {
        $this->driver = $driver;
    }

    /**
     * @param string $command_name
     * @return mixed
     */
    public function execute($command_name, array $parameters = [])
    {
        return $this->driver->execute($command_name, $parameters);
    }
}