SiteCookieGroupList ISiteVisitor.VisitSites(string[] urls) { SiteCookieGroupList results = new SiteCookieGroupList(); foreach (string url in urls) { results.Add(VisitSite(url)); } return(results); }
public void Run() { //"https://www.microsoft.com" string[] urls = { "https://www.cpp.edu/~jinjinglee/test.html" }; ISiteVisitor visitor = new WebDriverSiteVisitor(); visitor.Start(); SiteCookieGroupList s = visitor.VisitSites(urls); visitor.Stop(); Debug.Print(s.ToJSON()); }
public void Extend(SiteCookieGroupList list) { cookieGroupList.AddRange(list.ToList()); }