Basic Settings

Tables Normalization

Probably you already met such tables, in which multiple cells or rows are combined into single cell. It makes the table more readable for humans and less readable for computer. This effect is achieved by using such attributes as rowspan and colspan and makes it very difficult to write a common logic for passing all rows of such table.

To simplify this task, we introduced a special parameter normalize_tables. When you use it, engine will automatically split all merged cells and same content will be used for all splitted cells. After it you can build logic to pass through stable table structure, and it will be much easier to do as you can use same logic for each row.

Sample of using tables normalization mechanism:

              ---
config:
    debug: 2
    agent: Firefox
    # TURNING ON AUTOMATED TABLES NORMALIZATION
    normalize_tables: yes
do:
- walk:
    to: https://www.diggernaut.com/sandbox/meta-lang-normalize-tables-en.html
    do:
    - find:
        path: '#table-1'
        do:
    - find:
        path: '#table-2'
        do:
              

By default tables normalization is turned off.

Please pay attention!
To enable the option, you must put yes value without quotes.