slet node based on desendend element using xpath code example Example 1: xpath text //tag[text()='sometext'] Example 2: html xpath name //input[@name='username']