Sha256: c042bda503681fc13931f067dfd0592122df800f83424cf4240b7629ce3c98a7

Contents?: true

Size: 776 Bytes

Versions: 16

Compression:

Stored size: 776 Bytes

Contents

# frozen_string_literal: true

module Datadog
  module CI
    module Contrib
      module Selenium
        # Selenium integration constants
        # @public_api
        module Ext
          ENV_ENABLED = "DD_CIVISIBILITY_SELENIUM_ENABLED"
          ENV_RUM_FLUSH_WAIT_MILLIS = "DD_CIVISIBILITY_RUM_FLUSH_WAIT_MILLIS"

          COOKIE_TEST_EXECUTION_ID = "datadog-ci-visibility-test-execution-id"

          SCRIPT_IS_RUM_ACTIVE = <<~JS
            return !!window.DD_RUM
          JS
          SCRIPT_STOP_RUM_SESSION = <<~JS
            if (window.DD_RUM && window.DD_RUM.stopSession) {
              window.DD_RUM.stopSession();
              return true;
            } else {
              return false;
            }
          JS
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
datadog-ci-1.11.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.10.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.9.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.8.1 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.8.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.7.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.6.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.5.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.4.1 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.4.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.3.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.2.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.1.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.0.1 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.0.0 lib/datadog/ci/contrib/selenium/ext.rb
datadog-ci-1.0.0.beta6 lib/datadog/ci/contrib/selenium/ext.rb