xpath find text code example
Example 1: xpath text
//tag[text()='sometext']
Example 2: xpath contains text
//button[contains(text(),"Go")]
Example 3: html xpath name
//input[@name='username']
//tag[text()='sometext']
//button[contains(text(),"Go")]
//input[@name='username']