Wanted to ask if anyone is aware about any implementation or pattern for Selenium WebElement interface to get "Logical Name" of any given WebElement object in Java.
I am looking for something like this:
@FindBy(xpath = "//tr[2]/td[@class='listrow1'][3]")
private WebElement txtProvider;
txtProvider.SetLogicalName = "Provider TextBox"
assertEqualsSoft(txtProvider.getText(), hashMap.get(EMHashMapConst.PROVIDER), txtProvider.getLogicalName + strMsg);