<commit_before>﻿using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;

namespace WIQuest.Web.UaTests.Base
{
    public class UaTestBaseClass
    {
        private IWebDriver _driver;
        public IWebDriver Driver { get;  private set; }

        private readonly bool _isLocalMode;

        private readonly string _sauceLabsUserName;
        private readonly string _sauceLabsAccessKey;

        private readonly string _browser;
        private readonly string _version;
        private readonly string _os;
        private readonly string _deviceName;
        private readonly string _deviceOrientation;
        private readonly string _screenResultion;

        public UaTestBaseClass(string browser, string version, string os, string screenResultion, string deviceName, string deviceOrientation)
        {
            _browser = browser;
            _version = version;
            _os = os;
            _screenResultion = screenResultion;
            _deviceName = deviceName;
            _deviceOrientation = deviceOrientation;

            try
            {
                _sauceLabsUserName = Environment.GetEnvironmentVariable("SL_USERNAME");
                _sauceLabsAccessKey = Environment.GetEnvironmentVariable("SL_API_KEY");<commit_msg>Build trigger<commit_after>﻿using System;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Remote;

namespace WIQuest.Web.UaTests.Base
{
    public class UaTestBaseClass
    {
        private readonly IWebDriver _driver;
        public IWebDriver Driver { get;  private set; }

        private readonly bool _isLocalMode;

        private readonly string _sauceLabsUserName;
        private readonly string _sauceLabsAccessKey;

        private readonly string _browser;
        private readonly string _version;
        private readonly string _os;
        private readonly string _deviceName;
        private readonly string _deviceOrientation;
        private readonly string _screenResultion;

        public UaTestBaseClass(string browser, string version, string os, string screenResultion, string deviceName, string deviceOrientation)
        {
            _browser = browser;
            _version = version;
            _os = os;
            _screenResultion = screenResultion;
            _deviceName = deviceName;
            _deviceOrientation = deviceOrientation;

            try
            {
                _sauceLabsUserName = Environment.GetEnvironmentVariable("SL_USERNAME");
                _sauceLabsAccessKey = Environment.GetEnvironmentVariable("SL_API_KEY");
{'fraction_non_alphanumeric': 0.05205582798943795, 'fraction_numerical': 0.0, 'mean_word_length': 2.6579310344827585, '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': '6437683', 'n_tokens_mistral': 687, 'n_tokens_neox': 656, 'n_words': 181}