You are on page 1of 1

***********************************************************************************

*********
To install any plugin go to Tools->NuGet Package Manager->Manage nuget packages for
solution

***********************************************************************************
*********
FIRST TESTCASE

using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.IE;

namespace ConsoleApp1
{
class firstTestCase
{
static void Main(string[] args)
{

IWebDriver driver = new FirefoxDriver(Environment.CurrentDirectory);


IWebDriver driver = new FirefoxDriver(Environment.CurrentDirectory);
IWebDriver driver = new
InternetExplorerDriver(Environment.CurrentDirectory);
driver.Url = "http://google.com";
driver.Close();

}
}
}
***********************************************************************************
*************

You might also like