A group of actions: Selenium
The action save image from web-page in file on local PC and return path to file
Settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for working with the browser. | Robin.Selenium | Browser context | Yes |
Element | Web element with image | Robin.WebElement | Yes | |
Folder path | Path to folder to save image | Robin.FolderPath | C:\doc\img | Yes |
Image source | Source of saved image. There are 3 options available: 1) Resource URL. Saves images by URL. Suitable for images enclosed in an img tag. Not suitable for saving captcha and other types of images. 2) Scripts (JS script is used). Saves image using JS scripts. Suitable for saving any images, including captcha. 3) Screenshot (JS script is used). Cuts an image from a screenshot of a browser window. Allows you to save images that do not go beyond the browser window, including captcha. | Robin.String | No | |
Results | ||||
Path to image file | Path to image file | Robin.Image | C:\doc\img.png |
Обзор
Инструменты контента