Hello. There is a loaded page in the webbrowser component with certain images from Google images. How can I save the selected image if I, for example, opened it for viewing (by clicking on it)? I thought to do this: after clicking on the image, if it meets the requirements, click the "full size" button and then somehow intercept the link to this image and then save it to disk. But I have no idea how to do it. Can anyone suggest a way to solve this problem?

    1 answer 1

    It is on C #, as an option, you can use a phantom browser, go to the right link in google pictures, get a page with the right pictures and parse using indirect signs to select the right picture. I laid out an example in this answer.

    • What is a phantom browser? - Bulson
    • @Bulson edited the answer, gave a link to the example - Yury Bakharev
    • @YuryBakharev, and how is it different from WebDriver, tell me pliz? - tCode
    • @tCode as far as I know, the phantom browser parses the page into its internal model and provides access to the elements, in parallel all requests are translated into a real browser, and to use a particular one you need to use your webdriver - Yury Bakharev
    • @YuryBakharev, understood, ATP - tCode