<commit_before>var config = require("../../config/config");
var assert = require("assert");
var should = require("should");
var async = require("async");
var By = require("selenium-webdriver").By;
var chromeDriver = require("chromedriver");

// Any selenium-webdirver after 2.47.0 requires ES6 features.
// grunt-cli-babel along with several other tricks were tried. None of which worked.
// Until we update to Node 4 we're stuck on 2.47.0 of selenium-webdriver.

// Documentation for the selenium JS webdriver: https://code.google.com/p/selenium/wiki/WebDriverJs
var seleniumWebdriver = require("selenium-webdriver");
var webDriver;
var chrome = require("selenium-webdriver/chrome");
var test = require("selenium-webdriver/testing");
var proxy = require("selenium-webdriver/proxy");
var path = chromeDriver.path;
var service = new chrome.ServiceBuilder(path).build();

// SUT is an acronym for System Under Test.
var sutProtocol = "http://";
var zapTargetApp = sutProtocol + config.hostName + ":" + config.port + "/";
var zapOptions = {
    proxy: (sutProtocol + config.zapHostName + ":" + config.zapPort + "/"),
    targetApp: zapTargetApp
};
var ZapClient = require("zaproxy");
var zaproxy = new ZapClient(zapOptions);
var zapTargetAppRoute = "profile";
var zapTargetAppAndRoute = zapTargetApp + zapTargetAppRoute;
var zapApiKey = config.zapApiKey;
var fs = require("fs");

var state = {
    description: "",
    error: null
};

var sutUserName = "user1";
var sutUserPassword = "<PASSWORD>";<commit_msg>Removed selenium-webdriver comment related to Node 4 upgrade.<commit_after>var config = require("../../config/config");
var assert = require("assert");
var should = require("should");
var async = require("async");
var By = require("selenium-webdriver").By;
var chromeDriver = require("chromedriver");

// Documentation for the selenium JS webdriver: https://code.google.com/p/selenium/wiki/WebDriverJs
var seleniumWebdriver = require("selenium-webdriver");
var webDriver;
var chrome = require("selenium-webdriver/chrome");
var test = require("selenium-webdriver/testing");
var proxy = require("selenium-webdriver/proxy");
var path = chromeDriver.path;
var service = new chrome.ServiceBuilder(path).build();

// SUT is an acronym for System Under Test.
var sutProtocol = "http://";
var zapTargetApp = sutProtocol + config.hostName + ":" + config.port + "/";
var zapOptions = {
    proxy: (sutProtocol + config.zapHostName + ":" + config.zapPort + "/"),
    targetApp: zapTargetApp
};
var ZapClient = require("zaproxy");
var zaproxy = new ZapClient(zapOptions);
var zapTargetAppRoute = "profile";
var zapTargetAppAndRoute = zapTargetApp + zapTargetAppRoute;
var zapApiKey = config.zapApiKey;
var fs = require("fs");

var state = {
    description: "",
    error: null
};

var sutUserName = "user1";
var sutUserPassword = "<PASSWORD>";
{'fraction_non_alphanumeric': 0.1434108527131783, 'fraction_numerical': 0.0045806906272022555, 'mean_word_length': 5.002114164904863, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '6862068', 'n_tokens_mistral': 900, 'n_tokens_neox': 865, 'n_words': 239}