public void GetData() { Scores = new List <Player>(); string Url = Constiants.DebugLanes + laneNumber; if (driver == null) { driver = new ChromeDriver(); driver.Navigate().GoToUrl(Url); System.Threading.Thread.Sleep(3000); var doc = driver.Divs(By.ClassName("container-fluid"))[0]; string tempHTML = doc.InnerHtml; HTMLShredder(tempHTML); } else { var doc = driver.Divs(By.ClassName("container-fluid"))[0]; string tempHTML = doc.InnerHtml; HTMLShredder(tempHTML); } }