I am new to selenium. Trying to Automate form filling using selenium. I need to click a button with following tag.
<a class="urLink urT" id="mq120h" ct="LN" lsdata="{0:'Move\x20Left',1:'Back',4:true,7:'ESCAPE'}" lsevents="{Activate:[{ResponseData:'delta',ClientAction:'submit'},{}]}" tabindex="0" ti="0" title="Move Left (Escape)" href="javascript:void(0);" ondragstart="var e=window.event;e.cancelBubble=true;e.returnValue=false;return false;" style="white-space:nowrap;"><img border="0" align="absmiddle" src="/sap/return.gif" alt="Move Left" ondrag="return false"> Return</a>
I am unable to understand what are these attributes "lsdata" and "lsevents" in the above .../ tag doing. Whether they are creating any dynamic link? How I can execute the same thing using script executor functions in Selenium.
I don't want to click using the FindElement() method as the element (button) is deeply nested in a table. Thanks