and condition in xpath code example Example: xpath multiple conditions //div[last() and @class="cls"]