Содержание

Mask

Description

Mask - is part of html tag attribute value, which is used by software when searching for the element to click while the task execution.

Properties

By default the search elements occurs by attribute href values . To search for items from the values ​​of any attributes, you must specify a mask as atribute|mask.

Additionally

If while the task execution no element at the specified mask is found, then execution stops and the task is failed.

Examples

  1. Parameters
    1. Mask link is specified
    2. Mask class|in is specified
  2. Conditions
<div>
  <a href="pages.hml" class="link">Ссылка 1</a>
  <a href="links.hml" class="link">Ссылка 2</a>
  <a href="about.hml" class="link">Ссылка 3</a>
  <a href="/links/other.php">Ссылка 4</a>
</div>
  1. Result
    1. click on the items «Link 2» or «Link 4» will be made, because their values for href attribute contain specified mask link
    2. click on the items «Link 1», «Link 2» or «Link 3», because their values for class attribute contain specified mask in