public void MiscTest()
 {
     {
         int i = 20;
         while (i-- != 0)
         {
             Random            r  = new Random();
             Webpages.Webpage  wp = new Webpages.Webpage(url3);
             RequestCustomizer rc = delegate(IRestRequest request)
             {
                 request.AddHeader("cache-control", "no-cache");
                 request.AddHeader("Connection", "keep-alive");
                 request.AddHeader("accept-encoding", "gzip, deflate");
                 request.AddHeader("Accept", "*/*");
                 //request.AddHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
                 //AppleWebKit /537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36
                 //Edge /14.14393");
                 request.AddHeader("Host", "www.deviantart.com");
                 request.AddHeader("Postman-Token",
                                   "444dc8e3-1a2c-4802-8df7-234017033b7a,ede1a149-0f07-4750-85e2-f03030318567");
                 request.AddHeader("Cache-Control", "no-cache");
                 return(request);
             };
             Webpage.Client.swappable_customizer = rc;
             print(wp);
             print(Webpage.Client);
             print(wp.raw_content_string);
             Assert.IsTrue(wp.raw_content_string.
                           Contains("<!--[if IE 9]><html class=\"ie eq9 lt10 \"><![endif]-->"));
             //Thread.Sleep(30);
         }
     }
 }
 public void WebpageTest3()
 {
     Webpages.Webpage wp = new Webpages.Webpage(url1);
     print(wp.GetFileName());
     wp.SaveAsFile(this.desktop);
 }