Module: Datadog::CI::Contrib::Selenium::Ext

Defined in:
lib/datadog/ci/contrib/selenium/ext.rb

Overview

Selenium integration constants

Constant Summary collapse

ENV_ENABLED =
"DD_CIVISIBILITY_SELENIUM_ENABLED"
ENV_RUM_FLUSH_WAIT_MILLIS =
"DD_CIVISIBILITY_RUM_FLUSH_WAIT_MILLIS"
"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