Your IP : 216.73.216.220


Current Path : /var/www/html/vendor/php-webdriver/webdriver/lib/Remote/
Upload File :
Current File : /var/www/html/vendor/php-webdriver/webdriver/lib/Remote/LocalFileDetector.php

<?php

namespace Facebook\WebDriver\Remote;

class LocalFileDetector implements FileDetector
{
    /**
     * @param string $file
     *
     * @return null|string
     */
    public function getLocalFile($file)
    {
        if (is_file($file)) {
            return realpath($file);
        }

        return null;
    }
}