I have searched for an Account in Salesforce and it gives a few search results. But I'm unable to find the element in Selenium.
I have tried using absolute/relative xpath
and CSSSelector
, LinkText
as well.
Used: driver.findElement(By.linkText("ILT_Order1")).click();
<a href="javascript:srcUp(%27%2F0010C000003HmzI%3FsrPos%3D0%26srKp%3D001%26isdtp%3Dvw%27);" data-seclke="Account" data-seclkh="b2e6250471c982c9bec58d55cc1e0f42" data-seclki="0010C000003HmzI" data-seclkp="/0010C000003HmzI" data-seclkr="1" onmousedown="searchResultClick.mousedown(this, event)">ILT_Order1</a>
I am unable to find the element.