Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Watin从ashx Url获取图像_Url_Watin_Ashx - Fatal编程技术网

使用Watin从ashx Url获取图像

使用Watin从ashx Url获取图像,url,watin,ashx,Url,Watin,Ashx,我想从AshXURL使用watin获取图像,有人能告诉我如何使用watin api获取图像吗 这是链接 当您打开此链接时,会出现CAPTCHA图像,其url为ashx 代码 我想用ie开发者工具栏保存CAPTCHA图像,找到你需要的属性,在我的脑海里,它可能是img.src或img.url 验证码的全部目的是停止自动化,因此您应该让开发人员部署一个没有启用它的测试版本 IE ie = new IE(); ie.GoTo("http://www.nmlsconsumeraccess.org/En

我想从AshXURL使用watin获取图像,有人能告诉我如何使用watin api获取图像吗

这是链接 当您打开此链接时,会出现CAPTCHA图像,其url为ashx

代码


我想用ie开发者工具栏保存CAPTCHA图像,找到你需要的属性,在我的脑海里,它可能是img.src或img.url

验证码的全部目的是停止自动化,因此您应该让开发人员部署一个没有启用它的测试版本

IE ie = new IE();
ie.GoTo("http://www.nmlsconsumeraccess.org/EntityDetails.aspx/COMPANY/76986");
ie.WaitForComplete();

Image img = ie.Image(Find.ById("turingImage"));

img. ????