Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/php-webdriver/webdriver/lib/Firefox/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/php-webdriver/webdriver/lib/Firefox/FirefoxDriverService.php
<?php

namespace Facebook\WebDriver\Firefox;

use Facebook\WebDriver\Remote\Service\DriverService;

class FirefoxDriverService extends DriverService
{
    /**
     * @var string Name of the environment variable storing the path to the driver binary
     */
    const WEBDRIVER_FIREFOX_DRIVER = 'WEBDRIVER_FIREFOX_DRIVER';
    /**
     * @var string Default executable used when no other is provided
     * @internal
     */
    const DEFAULT_EXECUTABLE = 'geckodriver';

    /**
     * @return static
     */
    public static function createDefaultService()
    {
        $pathToExecutable = getenv(static::WEBDRIVER_FIREFOX_DRIVER);
        if ($pathToExecutable === false || $pathToExecutable === '') {
            $pathToExecutable = static::DEFAULT_EXECUTABLE;
        }

        $port = 9515; // TODO: Get another free port if the default port is used.
        $args = ['-p=' . $port];

        return new static($pathToExecutable, $port, $args);
    }
}

Spamworldpro Mini