different xpath check code example Example 1: xpath text //tag[text()='sometext'] Example 2: html xpath name //input[@name='username']