I'm just starting out with selenium webdriver and I need to automate a webpage for my project. Right now, I'm working on the login page but I'm having trouble with the login button. I'm not sure which locator to use for it. The login button code is as follows:
a href="javascript:LoginSubmit('Log In')">
img border="0" src="/opensso/login_images/button_enter.gif"
alt="enter / entrez"
Can someone please assist me in using the above code with xPath or any other method related to JavaScript?
I apologize if I've overlooked something, since I'm still new to all of this.