Please let me know if any code changes need to be done. Page html is downloaded after binding data but in server gives html without binding. server is using proxy.
Proxy proxy = new Proxy();
proxy.HttpProxy = string.Format("XXXXXXXXXX");
var service = PhantomJSDriverService.CreateDefaultService();
service.ProxyType = "http";
service.Proxy = proxy.HttpProxy;
service.IgnoreSslErrors = true;
service.IPAddress = "XXXXXXXXXXXXXXXX";
//service.Port = 3128;
service.HostName = "webpreprod.ooredoo.com.kw";
//IWebDriver driver = new PhantomJSDriver();
var driver = new PhantomJSDriver(service);
driver.Url = URL;
driver.Navigate();
Aucun commentaire:
Enregistrer un commentaire