<commit_before>#require 'coveralls'
#Coveralls.wear!

require 'webmock/rspec'
WebMock.disable_net_connect!(allow_localhost: true)

require 'factory_bot_rails'
require 'headless'
require 'capybara'
require 'rails_helper'

@headless = Headless.new
@headless.start

Capybara.register_driver :selenium do |app|
  http_client = Selenium::WebDriver::Remote::Http::Default.new
  http_client.read_timeout = 200
  Capybara::Selenium::Driver.new(app, browser: :chrome, :http_client => http_client)<commit_msg>webdriver set window size<commit_after>#require 'coveralls'
#Coveralls.wear!

require 'webmock/rspec'
WebMock.disable_net_connect!(allow_localhost: true)

require 'factory_bot_rails'
require 'headless'
require 'capybara'
require 'rails_helper'

@headless = Headless.new
@headless.start

Capybara.register_driver :selenium do |app|
  http_client = Selenium::WebDriver::Remote::Http::Default.new
  http_client.read_timeout = 200
  options = Selenium::WebDriver::Chrome::Options.new
  options.add_argument("--window-size=2048,768")

  Capybara::Selenium::Driver.new(
    app,
    browser: :chrome,
    http_client: http_client,
    options: options
  )
{'fraction_non_alphanumeric': 0.12020905923344948, 'fraction_numerical': 0.01132404181184669, 'mean_word_length': 6.924137931034482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '876148', 'n_tokens_mistral': 412, 'n_tokens_neox': 390, 'n_words': 70}