<commit_before>var Nightmare = require('nightmare');		
var nightmare = Nightmare({ show: true });
require('console.table');

let creds = require('./creds');
let username = creds.username;
let password = creds.password;

nightmare
  // go to website
  .goto('https://www.nelnet.com/welcome')
  .wait('#username')
  .wait(3000)
  // enter username and wait for password input
  .type('#username', username)
  .click('#submit-username')
  .wait('#Password')
  .wait(2000)
  // enter password and wait for account screen
  .type('#Password', password)
  .click('#submit-password')
  .wait('#mb1 > li:nth-child(2) > a')
  .wait(3000)
  // go to loan details screen
  .click('#mb1 > li:nth-child(2) > a')
  .wait('#area-one .account-row:nth-child(1) a')
  .wait(2000)
  // click on show loan details
  .click('#area-one .account-row:nth-child(1) a')
  .wait(1000)
  .click('#area-one .account-row:nth-child(1) a')
  .wait(1000)
  .click('#area-one .account-row:nth-child(2) a')
  .wait(1000)
  .click('#area-one .account-row:nth-child(2) a')

  .evaluate(function () {
        let accurued_interest = Array.from(
        	document.querySelectorAll('.groupLoanDetails .account-detail div:nth-child(3) tr:nth-child(2) td:nth-child(2)'))
        	.map(element => element.innerText);
        let interest = Array.from(
        	document.querySelectorAll('.groupLoanDetails .account-detail div:nth-child(3) tr:nth-child(1) td:nth-child(2) span'))<commit_msg>timing changes<commit_after>var Nightmare = require('nightmare');		
var nightmare = Nightmare({ show: true });
require('console.table');

let creds = require('./creds');
let username = creds.username;
let password = <PASSWORD>;

nightmare
  // go to website
  .goto('https://www.nelnet.com/welcome')
  .wait('#username')
  .wait(3000)
  // enter username and wait for password input
  .type('#username', username)
  .click('#submit-username')
  .wait('#Password')
  .wait(2000)
  // enter password and wait for account screen
  .type('#Password', password)
  .click('#submit-password')
  .wait('#mb1 > li:nth-child(2) > a')
  .wait(4000)
  // go to loan details screen
  .click('#mb1 > li:nth-child(2) > a')
  .wait('#area-one .account-row:nth-child(1) a')
  .wait(3000)
  // click on show loan details
  .click('#area-one .account-row:nth-child(1) a')
  .wait(1000)
  .click('#area-one .account-row:nth-child(1) a')
  .wait(1000)
  .click('#area-one .account-row:nth-child(2) a')
  .wait(1000)
  .click('#area-one .account-row:nth-child(2) a')

  .evaluate(function () {
        let accurued_interest = Array.from(
        	document.querySelectorAll('.groupLoanDetails .account-detail div:nth-child(3) tr:nth-child(2) td:nth-child(2)'))
        	.map(element => element.innerText);
        let interest = Array.from(
        	document.querySelectorAll('.groupLoanDetails .account-detail div:nth-child(3) tr:nth-child(1) td:nth-child(2) span'))
{'fraction_non_alphanumeric': 0.1850570736769284, 'fraction_numerical': 0.029747492217225873, 'mean_word_length': 3.6871961102106967, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 14, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5031637', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1021, 'n_words': 206}