Getting the Browser details in Selenium

There are times when you would like to get the browser details when running the selenium scripts. Here is the selenium script that you can use to to get browser details. String a = selenium.GetEval(“navigator.appCodeName”); Console.WriteLine(a); String b = selenium.GetEval(“navigator.appName”); Console.WriteLine(b); String c = selenium.GetEval(“navigator.appVersion”); Console.WriteLine(c); String d = selenium.GetEval(“navigator.cookieEnabled”); Console.WriteLine(d); String e = selenium.GetEval(“navigator.platform”); […]