Run RemoteWebdriver in C#

System.Environment.SetEnvironmentVariable(“”, @”C:\\IEDriverServer.exe”);
OpenQA.Selenium.Remote.DesiredCapabilities capabilities2 = new DesiredCapabilities();
capabilities2 = DesiredCapabilities.InternetExplorer();
DriverContext.Driver = new RemoteWebDriver(new Uri(“http://localhost:5555/wd/hub”),capabilities2);
Logger.Log(ReportLogStatus.INFO, “Browser”, “Test Started in Grid IE browser”);


About qainterviews

Software Geek,QA Expert,Blogger
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s