In my web page I'm having following two buttons: <button onclick="addToSelected('newApplicationForm');">Add Strategy</button> <button onclick="submitAddNewApplication('newApplicationForm');">Submit</button> How do I identify them using methods of the <code>By</code> class?