#!/usr/bin/env php
<?php

/**
 * Start by trying require in the composer autoload.
 */
$possibleAutoloads = [
    __DIR__ . '/../../../autoload.php',
    __DIR__ . '/../autoload.php',
    __DIR__ . '/../vendor/autoload.php',
];

foreach ($possibleAutoloads as $autoload) {
    if (file_exists($autoload)) {
        require $autoload;
    }
}

/**
 * Now run our application.
 */
$console = new Anteris\Selenium\Server\Console;
$console->run();
