Extract CSS Property

This node extracts a CSS property from a WebElement. For the specified CSS property name, the property values are appended as string column to the input table. In case, a CSS property is not present, a missing value cell is appended.

Note: “Shorthand” CSS properties such as background, font, border, etc. are usually not supported, instead you must use the explicit longhand property names, such as background-color, font-size, etc.

Color values are returned as RGBA strings, e.g. for a color property green Selenium will return rgba(0, 255, 0, 1).

Options

Search Mode
Select “Input Column” if your input table already contains the WebElement which you want to use. Otherwise select “Find Element(s)” to open a picker dialog which allows you to chose the WebElement(s). For more information about the dialog, please check the documentation of the “Find Elements” node.
Input
(when mode is “Input Column”) Input column which provides the WebElement(s)
Remove input column
(when mode is “Input Column”) Removes the input column from the result table
Selector
(when mode is “Find Element(s)”) Click the “Edit” button to open the picker dialog.
CSS value name
The name of the CSS property to extract
Change output column name (*)
Enter a custom name for the appended output column, or leave this blank to auto-generate the name based on the input column name and attribute

Input Ports

Icon
Table with a column providing WebElements to extract

Output Ports

Icon
Table with appended column holding the specified property value

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.