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