Not able to identify a lenghty linktext in selenium webdriver -
Not able to identify a lenghty linktext in selenium webdriver -
i want identify element linktext, facing unusual issue if linktext value short i.e addfirst
, addlast
able locate element using
driver.findelement(by.linktext("addlast, addfirst")).click
if linktext addmanualreferraltocheckthelenghtf
, addmanualreferraltocheckthelenghtf
lengthy above not able identify element
please help me find solution
why don't seek partial link text.
driver.findelement(by.partiallinktext("addlast, addfirst")).click
selenium selenium-webdriver
Comments
Post a Comment