Element click selector

Check whether the click is necessary

Use an Element click selector only when the interaction is required to make the target data available or to change the value that should be extracted. Many tabs and variant controls only change visibility while all values are already present in the page HTML.

  1. Trigger the control manually and identify the selector for the target value.
  2. Reload the page to restore its original state.
  3. Run Data preview for the target value selector without performing the click.

If the value is returned in the original state, extract it directly without an Element click selector. This reduces execution steps and generally produces a simpler, faster and more stable sitemap.

Select controls without activating them

While the point-and-click selector is active, move the pointer over a clickable control and press S. This selects the element without triggering its click event.

Configuration

  • selector - [CSS selector] [css-selector] for the wrapper elements that will be used as parent elements for child selectors.
  • Click selector - [CSS selector] [css-selector] for the elements that should be clicked.
  • Click type - Click Once or Click More.
  • Click element uniqueness - Identifies controls using unique text, HTML and text, HTML, or CSS selector.
  • Multiple - Enable when child selectors should be executed multiple times, such as when clicking through multiple tabs.
  • Delay - Wait before extraction and between clicks. Use enough time for the page to update.
  • Discard initial elements - Controls whether records available before the first click are kept.

Click types

  • Click Once: clicks each unique matched control once. Newly appearing matching controls are also clicked.
  • Click More: repeatedly clicks until no new elements with unique text appear.

Discard initial elements

  • Never discard: returns records before and after clicking.
  • Discard when click element exists: removes the initial state only when a click control is present. Use this for product pages where only some items have variants.
  • Always discard: legacy behavior retained for older sitemaps and generally not recommended.

Related

Related videos