<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 * Copyright 2017 Adobe
 * All Rights Reserved.
 */
-->

<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
    <section name="LocatorFunctionSection">
        <element name="simpleLocator" type="button" locatorFunction="contains('label', 'Name')"/>
        <element name="simpleLocatorOneParam" type="button" locatorFunction="contains({{arg1}}, 'Name')" parameterized="true"/>
        <element name="simpleLocatorTwoParam" type="button" locatorFunction="contains({{arg1}}, {{arg2}})" parameterized="true"/>
        <element name="simpleLocatorNonShorthand" type="button" locatorFunction="Locator::contains('label', 'Name')"/>
        <element name="arrayLocator" type="button" locatorFunction="find('img', ['title' => 'diagram'])"/>
        <element name="arrayLocatorTwoParam" type="button" locatorFunction="find({{arg1}}, {{arg2}})" parameterized="true"/>
    </section>
</sections>
