private static void Main(string[] args) { var filePath = "Config.json"; var jsonStr = File.ReadAllText(filePath); var config = JsonConvert.DeserializeObject <Config>(jsonStr); var driver = new ChromeDriver(); SeleniumUtils.Register(driver, config); }