tests/DuskTestCase.php
/**
     * Determine whether the Dusk command has disabled headless mode.
     *
     * @return bool
     */
Determine whether the Dusk command has disabled headless mode.
@return bool
Determine whether the Dusk command has disabled headless mode . @return bool
protected function hasHeadlessDisabled()
    {
        return isset($_SERVER['DUSK_HEADLESS_DISABLED']) ||
            isset($_ENV['DUSK_HEADLESS_DISABLED']);
    }
protected function hasHeadlessDisabled ( ) { return isset ( $ _SERVER [ 'DUSK_HEADLESS_DISABLED' ] ) || isset ( $ _ENV [ 'DUSK_HEADLESS_DISABLED' ] ) ; }
Determine whether the Dusk command has disabled headless mode.
Determine whether the Dusk command has disabled headless mode .