0 ×

Find Elements

DeprecatedSelenium Nodes for KNIME version 3.2.1.201905242158 by seleniumnodes.com

Extracts WebElements based on different criteria. The input can either be a WebDriver (representing a browser's window), or a WebElement (a subpart of the window). The following search criteria are available:

Find by Explanation
className Finds elements based on their class attributes. In case an element has multiple class values assigned, matching a single value is sufficient.
cssSelector Finds elements based on a CSS selector expression.
id Finds an element based in its id attribute.
linkText Finds links through an exact match of their text.
name Finds elements based on their name attributes.
partialLinkText Finds links by a partial match of the given text.
tagName Finds elements based on their tag names.
xpath Finds elements based on an XPath expression.

For each extracted WebElement a new row is added to the output table.

Note that you cannot only search within the given input, but also navigate the entire DOM tree. For example, you can use the XPath query .. to find a WebElement's parent.

In case you need to extract an element which is not immediately available on the page, consider specifying an Implicit wait within the Start WebDriver's Timeouts options.

Options

Input
The input column providing the starting point where to search.
Find by
The search criteria (see above).
Query
The query.
Extract only first match
If enabled, extract only first match per input row instead of all.
Append additional WebElement information
If enabled, additional columns with the WebElement's properties are appended (tag name, text content, selected, enabled, displayed state, position and size). This may (1) slow down extraction or (2) not be supported by specific WebDriver implementations, in latter case MissingValues will be returned.
Explicit wait
The amount of time to wait in case elements are searched and are not immediately available.
Catch exceptions
Do not fail the node's execution in case an exception is encountered (typically, in case the explicit wait timeout was reached without finding an element).

Input Ports

Table with a column providing a WebDriver or WebElements in which to search

Output Ports

Table with the found WebElements (and optionally additional columns with more information)

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install Selenium Nodes for KNIME from the following update site:

KNIME 3.7
Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.