<commit_before>var casper = require('casper').create({
    viewportSize : {width : 800, height : 600},
    verbose: true,
    logLevel: "debug",
});

casper.start("http://localhost:5000", function userInterface() {
    this.capture("index.png");
});

casper.thenOpen('http://localhost:5000/request/1', function userInterface() {
    this.captureSelector("request1response.png", "#responses-container");
    this.captureSelector("request1request.png", "#request-container");
 });

casper.thenOpen('http://records.oaklandnet.com/api/request/1', function userInterface() {
	var fs = require('fs');
    fs.write('api.json', this.getPageContent());
 });


casper.run();<commit_msg>Updating automated screenshots<commit_after>var casper = require('casper').create({
    viewportSize : {width : 800, height : 600},
    verbose: true,
    logLevel: "debug",
});

casper.start("http://localhost:3000", function userInterface() {
    this.capture("index.png");
});

casper.thenOpen('http://records.oaklandnet.com/request/1', function userInterface() {
    this.captureSelector("request1response.png", "#responses-container");
    this.captureSelector("request1request.png", "#request-container");
 });

// casper.thenOpen('http://records.oaklandnet.com/public/request/954', function userInterface() {
//     this.captureSelector("public_add_a_note.png", "#public_note");
//  });

casper.thenOpen('http://records.oaklandnet.com/new', function userInterface() {
    this.captureSelector("new_request_form.png", "#submitRequest");
 });

casper.thenOpen('http://records.oaklandnet.com/api/request/1', function userInterface() {
	var fs = require('fs');
    fs.write('api.json', this.getPageContent());
 });


casper.run();
{'fraction_non_alphanumeric': 0.19028103044496486, 'fraction_numerical': 0.020491803278688523, 'mean_word_length': 5.237226277372263, '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': '3350131', 'n_tokens_mistral': 555, 'n_tokens_neox': 526, 'n_words': 75}