<commit_before>let csv = require("fast-csv");
let _ = require("lodash");
let fs = require('fs');
const globals = require('protractor');

let getMultipleBrowserCapability = function (params) {
  let returnArray = new Array();
  console.log(params.browsers)
  var browsers = params.browsers.split(',');
  browsers.forEach(function (element) {
    returnArray.push({
      'browserName': element
    })
  }, this);
  console.log(returnArray);
  return returnArray;
};

exports.config = {
  allScriptsTimeout: 180000,
  specs: ['features/**/*.feature'],
  exclude: ['features/no_edit.feature'],
  capabilities: {
    'browserName': 'chrome',
    'chromeOptions': { args: [ "--headless", "--disable-gpu", "--window-size=800,600" ] }
  },
  // multiCapabilities: 
  // [
  //   {
  //     browserName: 'chrome',
  //     // chromeOptions: {
  //     //   args: [ "--headless", "--disable-gpu", "--window-size=800,600" ]
  //     // }
  //   },
  //   // {
  //   //   'browserName': 'firefox'
  //   // }<commit_msg>Doing protractor config<commit_after>let csv = require("fast-csv");
let _ = require("lodash");
let fs = require('fs');
const globals = require('protractor');

let getMultipleBrowserCapability = function (params) {
  let returnArray = new Array();
  console.log(params.browsers)
  var browsers = params.browsers.split(',');
  browsers.forEach(function (element) {
    returnArray.push({
      'browserName': element
    })
  }, this);
  console.log(returnArray);
  return returnArray;
};

exports.config = {
  allScriptsTimeout: 180000,
  specs: ['features/**/*.feature'],
  exclude: ['features/no_edit.feature'],
  capabilities: {
    'browserName': 'chrome',
    'chromeOptions': {
      binary: '/usr/bin/google-chrome',
      args: ['--enable-logging','--v=1'],
      extensions: []
    }
  },
  // multiCapabilities: 
  // [
  //   {
  //     browserName: 'chrome',
  //     // chromeOptions: {
  //     //   args: [ "--headless", "--disable-gpu", "--window-size=800,600" ]
  //     // }
  //   },
  //   // {
  //   //   'browserName': 'firefox'
  //   // }
{'fraction_non_alphanumeric': 0.2031853281853282, 'fraction_numerical': 0.014961389961389961, 'mean_word_length': 2.688612099644128, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2719598', 'n_tokens_mistral': 721, 'n_tokens_neox': 689, 'n_words': 117}