<commit_before>require "timeout"
require "socket"

require "selenium/webdriver/firefox/util"
require "selenium/webdriver/firefox/binary"
require "selenium/webdriver/firefox/profiles_ini"
require "selenium/webdriver/firefox/profile"
require "selenium/webdriver/firefox/launcher"
require "selenium/webdriver/firefox/bridge"

module Selenium
  module WebDriver

    # @private
    module Firefox

      DEFAULT_PROFILE_NAME            = "WebDriver".freeze
      DEFAULT_PORT                    = 7055
      DEFAULT_ENABLE_NATIVE_EVENTS    = [:windows, :linux].include? Platform.os
      DEFAULT_SECURE_SSL              = false
      DEFAULT_ASSUME_UNTRUSTED_ISSUER = true
      DEFAULT_LOAD_NO_FOCUS_LIB       = Platform.os == :linux

    end
  end<commit_msg>JariBakken: Re-disable FF native events on linux.<commit_after>require "timeout"
require "socket"

require "selenium/webdriver/firefox/util"
require "selenium/webdriver/firefox/binary"
require "selenium/webdriver/firefox/profiles_ini"
require "selenium/webdriver/firefox/profile"
require "selenium/webdriver/firefox/launcher"
require "selenium/webdriver/firefox/bridge"

module Selenium
  module WebDriver

    # @private
    module Firefox

      DEFAULT_PROFILE_NAME            = "WebDriver".freeze
      DEFAULT_PORT                    = 7055
      DEFAULT_ENABLE_NATIVE_EVENTS    = Platform.os == :windows
      DEFAULT_SECURE_SSL              = false
      DEFAULT_ASSUME_UNTRUSTED_ISSUER = true
      DEFAULT_LOAD_NO_FOCUS_LIB       = Platform.os == :linux

    end
  end
{'fraction_non_alphanumeric': 0.07757496740547588, 'fraction_numerical': 0.005215123859191656, 'mean_word_length': 3.217032967032967, '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': '5388429', 'n_tokens_mistral': 508, 'n_tokens_neox': 469, 'n_words': 84}