<commit_before>import sys
import os
import time
import platform
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains

DRIVER_PATH = os.path.abspath(os.path.join(
    os.path.dirname(os.path.abspath(__file__)), "driver"))

from atve.log import Log
from atve.exception import *

DEFAULT_WAIT = 30
WINDOW_SIZE_WIDTH = 1280
WINDOW_SIZE_HEIGHT = 800
L = Log("Browser.Library.ATVE")

class Selenium(object):
    driver = None
    mode = "FireFox"

    def __init__(self, mode="FireFox"):
        self.__mode(mode)

    @classmethod
    def __mode(cls, mode):
        cls.mode = mode

    @classmethod
    def start(cls, url, driver=""):
        if cls.mode == "FireFox":
            cls.driver = webdriver.Firefox()
        elif cls.mode == "Chrome":<commit_msg>Update.<commit_after>import sys
import os
import time
import platform
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains

DRIVER_PATH = os.path.abspath(os.path.join(
    os.path.dirname(os.path.abspath(__file__)), "driver"))

from atve.log import Log
from atve.exception import *

DEFAULT_WAIT = 60
WINDOW_SIZE_WIDTH = 1280
WINDOW_SIZE_HEIGHT = 800
L = Log("Browser.Library.ATVE")

class Selenium(object):
    driver = None
    mode = "FireFox"

    def __init__(self, mode="FireFox"):
        self.__mode(mode)

    @classmethod
    def __mode(cls, mode):
        cls.mode = mode

    @classmethod
    def start(cls, url, driver=""):
        if cls.mode == "FireFox":
            cls.driver = webdriver.Firefox()
        elif cls.mode == "Chrome":
{'fraction_non_alphanumeric': 0.11243718592964824, 'fraction_numerical': 0.011306532663316583, 'mean_word_length': 3.425, 'pattern_counts': {'":': 4, '<': 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': '4867153', 'n_tokens_mistral': 551, 'n_tokens_neox': 516, 'n_words': 127}