I am using selenium and Htmlaglity pack here is website : http://ift.tt/1YTbnpT
And here is my Code
IWebDriver driver = new OpenQA.Selenium.PhantomJS.PhantomJSDriver("D:/Testing/");
driver.Navigate().GoToUrl(suburl);
Thread.Sleep(50000);
var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(1000));
driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(20));
HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc.LoadHtml(driver.PageSource);
Aucun commentaire:
Enregistrer un commentaire