Please wait...

Actions.
Get even better data when scraping by triggering actions.

add actions for web scrapers automation.

Using Dataflow Kit web scraping framework, while visiting a web page, you can

  1. type text into input fields, send key sequences to page elements;
  2. click on DOM elements, submit forms;
  3. emulate scrolling down a page;
  4. wrap several actions and run them in a loop;
  5. or even execute custom JavaScript code

The action building process is similar to other browser automation tools like Selenium. Using the visual designer, you can customize the sequence of actions performed on a target page during content scraping.

Please find a list of available actions in the table below, which describes the actions and their arguments.

Actions table.

Action Description Arguments

Input

Sets the value of an input field as if you had typed it in. You can also set the value of combo boxes, checkboxes, etc., using this action. In these cases, the value must be the value of the selected option, not visible text. selector: Must be a valid CSS Selector
value: Text to input.

Send Keys

The Send Keysaction simulates real user input of key by key into a given string. It mimics real user behavior, such as the inability to type into invisible or read-only DOM elements. This action is useful for cases where explicit keystroke events are required, like auto-completing combo boxes.
Note: Unlike a similar 'input' action, which forces a specified value directly into an input selector, this action does not overwrite existing content.
selector: Must be a valid CSS Selector
value: Sequence of keys to send. Keys can include keystrokes such as ALT+A, ENTER, BACKSPACE, etc.

Click

Clicks on a target element (such as a link, button, checkbox, or radio button) with specified CSS Selector. selector: Must be a valid CSS Selector for the target element
ignoreIfNotPresent: This optional parameter is useful when the target element occasionally may not be present in the DOM.

Double Click

Double clicks on a target element (such as a link, button, checkbox, or radio button). selector: Must be a valid CSS Selector for the target element.
ignoreIfNotPresent: This optional parameter is useful when the target element occasionally may not be present in the DOM.

JS Click

Clicks on a target element (such as a link, button, checkbox, or radio button).
Note: Unlike the similar 'click' action, JS Click action internally invokes a script (Javascript) that clicks the element.
selector: Must be a valid CSS Selector for the target element.
ignoreIfNotPresent: This optional parameter is useful when the target element occasionally may not be present in the DOM.

Submit

Submit the specified form. This action is useful for forms without explicit submit buttons, such as single-input Search forms. selector: Must be an any valid CSS Selector inside the parent form to submit.

Wait visible

Wait for the target element to become visible on the page. selector: Must be a valid CSS Selector for the target element.

Wait not visible

Wait for the target element to become invisible on the page. selector: Must be a valid CSS Selector for the target element.

Pause

Wait for the specified amount of time. value: (waitDelay) Wait time (in milliseconds).

Scroll

Scrolls down a web page to load more content. Simulate user interaction with endless scroll pages. value: (times) the number of times to scroll down a web page.
selector: Some websites require clicking 'More' button while scrolling a page. Put here 'More' button valid CSS Selector.
scrollByPixels: Specify the number of pixels to scroll each time.
scrollingElementSelector: Sometimes you need to specify the scroll element explicitly. Put here a alid CSS Selector of scrolling element.

Loop .. times

Create a loop that runs the wrapped actions N times. Move 'loop..times' handles to include or exclude other actions in / from the 'loop..times' block. 'Times' terminates a control flow block for 'Loop' block. value: (times) the number of times to execute the wrapped actions within the 'loop .. times' block.

Execute JS Script

Executes a snippet of JavaScript in the context of the currently selected window. value: (script) The JavaScript snippet to run

Useful links.