Category: Selenium with C#

Dictionary Compare in C# for Selenium

Dictionary compare can be used to compare two set of data in C# and it’s often used by Automation testers public static Boolean CompareDictionary(Dictionary<string, Dictionary<string, object>> D1, Dictionary<string, Dictionary<string, object>> D2) { var dic1a=new...

Logging to ChromeDriver.log in Selenium

We can log the error messages and Verbose to ChromeDriver.log via Selenium by using the below code   System.Diagnostics.Process process = new System.Diagnostics.Process(); System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; // startInfo.FileName =...