<commit_before>import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.WebDriverWait;

import java.io.File;
import java.io.IOException;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

public class GoogleTheDoodleTest {

    private WebDriver driver;
    private ScreenShooter shooter;

    @Before
    public void openBrowser() {
        String baseUrl = "http://www.google.com";
        driver = new FirefoxDriver();
        driver.get(baseUrl);
        shooter = new ScreenShooter();
    }

    @After
    public void closeBrowser() throws IOException {
        shooter.shoot("/home/jhenning/Devel/Sandbox/selenium-demo/screenshot.png");<commit_msg>Use user.dir as screenshot location<commit_after>import org.apache.commons.io.FileUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.WebDriverWait;

import java.io.File;
import java.io.IOException;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

public class GoogleTheDoodleTest {

    private WebDriver driver;
    private ScreenShooter shooter;

    @Before
    public void openBrowser() {
        String baseUrl = "http://www.google.com";
        driver = new FirefoxDriver();
        driver.get(baseUrl);
        shooter = new ScreenShooter();
    }

    @After
    public void closeBrowser() throws IOException {
        shooter.shoot( System.getProperty("user.dir") + "/screenshot.png");
{'fraction_non_alphanumeric': 0.10848549946294307, 'fraction_numerical': 0.0, 'mean_word_length': 3.9155672823219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7044244', 'n_tokens_mistral': 573, 'n_tokens_neox': 548, 'n_words': 117}