qa/qa/runtime/env.rb
def webdriver_headless?
        if ENV.key?('CHROME_HEADLESS')
          ActiveSupport::Deprecation.warn("CHROME_HEADLESS is deprecated. Use WEBDRIVER_HEADLESS instead.")
        end

        return enabled?(ENV['WEBDRIVER_HEADLESS']) unless ENV['WEBDRIVER_HEADLESS'].nil?

        enabled?(ENV['CHROME_HEADLESS'])
      end
# set to 'false' to have the browser run visibly instead of headless
set to 'false' to have the browser run visibly instead of headless
set to ' false ' to have the browser run visibly instead of headless
def webdriver_headless?
        if ENV.key?('CHROME_HEADLESS')
          ActiveSupport::Deprecation.warn("CHROME_HEADLESS is deprecated. Use WEBDRIVER_HEADLESS instead.")
        end
        return enabled?(ENV['WEBDRIVER_HEADLESS']) unless ENV['WEBDRIVER_HEADLESS'].nil?
        enabled?(ENV['CHROME_HEADLESS'])
      end
def webdriver_headless? if ENV . key? ( 'CHROME_HEADLESS' ) ActiveSupport :: Deprecation . warn ( "CHROME_HEADLESS is deprecated. Use WEBDRIVER_HEADLESS instead." ) end return enabled? ( ENV [ 'WEBDRIVER_HEADLESS' ] ) unless ENV [ 'WEBDRIVER_HEADLESS' ] . nil? enabled? ( ENV [ 'CHROME_HEADLESS' ] ) end
set to 'false' to have the browser run visibly instead of headless
set to ' false ' to have the browser run visibly instead of headless