Get element value

Description

Reads the 'value' attribute or the text between tags of the specified element in the browser opened via the 'ElectroNeek Studio'.

Parameters

The 'Attributes', 'CSS Selector' and 'XPath' sections enables you to identify the element to interact with. One of the above three methods needs to be chosen in order to set the element selector.

Attributes
CSS Selector
XPath
Attributes

Class name

  1. Set a value: enables you to directly write a string with the value of the class attribute of the html-code of the corresponding element, for example, search-input.

  2. Save the previous step result: chooses the previous activity result as the class name.

  3. Calculate a value: enables you to use available properties and methods to form the class.

Id

  1. Set a value: enables you to directly write a string with the value of the id attribute of the html-code of the corresponding element, for example,

    hiddenLanguageInput.

  2. Save the previous step result: chooses the previous activity result as the id.

  3. Calculate a value: enables you to use available properties and methods to form the id.

Field name

  1. Set a value: enables you to directly write a string with the value of the name attribute of the html-code of the corresponding element, for example, search.

  2. Save the previous step result: chooses the previous activity result as the name.

  3. Calculate a value: enables you to use available properties and methods to form the name.

Tag name

  1. Set a value: enables you to directly write a string with the tag name of the html-code of the corresponding element, for example, div.

  2. Save the previous step result: chooses the previous activity result as the tag name.

  3. Calculate a value: enables you to use available properties and methods to form the tag name.

CSS Selector
  1. Set a value: enables you to directly write a CSS-selector string of the specified element, for example, input[name='btnK'].

  2. Save the previous step result: chooses the previous function result as the CSS-selector.

  3. Calculate a value: enables you to use available properties and methods to form the CSS-selector.

XPath
  1. Set a value: enables you to directly write a string which is the selector of the specified element in the XPath form, for example, //*[@id="rso"]/div[1]/div/div[2]/div/div/div[1]/a.

  2. Save the previous step result: chooses the previous function result as the XPath expression.

  3. Calculate a value: enables you to use available properties and methods to form the XPath expression.

Use tab number by order

Allows to specify the iframe tab number manually.

Browser tab

The browser tab number with the desired element. Up to five tabs inclusive can be used in an workflow.

Several elements

With this option selected, the program will return an array of strings with values of all elements corresponding to the specified selector.

Comment

Contains an annotation to the activity. The input text will be displayed above the activity name.