1
|
using System.Linq;
|
2
|
using System.Text;
|
3
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
4
|
using OpenQA.Selenium;
|
5
|
using OpenQA.Selenium.Chrome;
|
6
|
using OpenQA.Selenium.Firefox;
|
7
|
|
8
|
using System;
|
9
|
using System.Collections;
|
10
|
using System.Collections.Generic;
|
11
|
using System.Threading;
|
12
|
|
13
|
namespace FrontendTesting
|
14
|
{
|
15
|
public class Utils
|
16
|
{
|
17
|
|
18
|
}
|
19
|
|
20
|
public static class Drivers
|
21
|
{
|
22
|
|
23
|
public static IWebDriver fDriver = new FirefoxDriver();
|
24
|
public static IWebDriver cDriver = new ChromeDriver();
|
25
|
public static IWebDriver[] drivers = { fDriver, cDriver };
|
26
|
public static IWebDriver[] GetDrivers()
|
27
|
{
|
28
|
return drivers;
|
29
|
}
|
30
|
}
|
31
|
}
|