xpath get with class code example
Example 1: how to mention a div with class in xpath
button[@type='submit']
button[@class='btn btn-success']
button[@type='submit'][@class='btn btn-success']
Example 2: how to mention a div with class in xpath
button[type='submit']
button[class='btn btn-success']
button[type='submit'][class='btn btn-success']