Welcome Guest Search | Active Topics | Sign In | Register

How to simulate uploading a local image? Options
sexfio
Posted: Friday, December 27, 2024 2:59:07 AM
Rank: Member
Groups: Member

Joined: 3/21/2020
Posts: 14
https://www.google.com/

click "search by image", how to simulate uploading a local image ( C:\\1.jpg)?
eo_support
Posted: Friday, December 27, 2024 8:59:29 AM
Rank: Administration
Groups: Administration

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

There is no simple way for you to automate this process because the page uses a complex flow of multiple requests that uses both JavaScript code to read/process the file and also security cookies. It is possible for you to simulate a simple file upload request by formating the correct Request object and then call WebView.LoadRequest to post the file to the server. However it is not possible to simulate the complex JavaScript code processing used by Google using this approach.

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.