Welcome Guest Search | Active Topics | Sign In | Register

regarding eo.webbrowser Options
ajay
Posted: Tuesday, December 9, 2014 7:12:52 AM
Rank: Newbie
Groups: Member

Joined: 12/9/2014
Posts: 2
how to capture image of webbrowser captcha using Eo.webbrowser and show that captcha in our picturebox
eo_support
Posted: Tuesday, December 9, 2014 10:06:26 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

You can use this method to capture the current WebView output:

http://www.essentialobjects.com/doc/6/eo.webbrowser.webview.capture_overloads.aspx

Thanks!
ajay
Posted: Saturday, December 27, 2014 5:32:53 AM
Rank: Newbie
Groups: Member

Joined: 12/9/2014
Posts: 2
but i dont wanna capture entire screen web page i only want to capture that captcha image on web page . is it is possible . then will you kindly share the sample code..
eo_support
Posted: Saturday, December 27, 2014 12:07:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

You can not capture the captcha image directly. EO.WebBrowser renders a page and whatever capture you do comes from the screen buffer, which means if the area you wish to capture is not in the current viewport, then you will not be able to capture it. In your case, you can use JavaScript to find out the location of the captcha image, then scroll the page to the location to make sure it is in the current viewport, then use one of the Capture method to capture it. However it might be easier if you just get the captcha Url and then do a direct download to get the captcha image file.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.