src/Manager.php
public function start($background = false, $port = 4444, array $args = [])
    {
        $selenium = $this->binaries['selenium'];
        $this->assertStartConditions($selenium);

        $process = $this->getSeleniumProcess();
        $this->registerBinaries($process, $selenium);

        if ($port != 4444) {
            $process->addArg('-port', $port);
        }

        if (!empty($args)) {
            $process->addArgs($args);
        }

        return $process->start($background);
    }
public function start($background = false, $port = 4444, array $args = [])
    {
        $selenium = $this->binaries['selenium'];
        $this->assertStartConditions($selenium);

        $process = $this->getSeleniumProcess();
        $this->registerBinaries($process, $selenium);

        if ($port != 4444) {
            $process->addArg('-port', $port);
        }

        if (!empty($args)) {
            $process->addArgs($args);
        }

        return $process->start($background);
    }
Start the Selenium server.

@param bool $background
@param int $port
@param array $args
@return SeleniumProcessInterface