Find iframe

Description

In the browser opened via the 'Studio', searches for an iframe by the specified selector and saves the found result with a specific number. To interact with elements inside the iframe in the other activities from the 'Browser' section, the tab and iframe number must be specified.

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, iframe[width='98%'].

  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, //iframe[@id="myFrame"].

  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 iframe.

Comment

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