how to concatenate two xpath values
yes it is possible.
can you provide some sample pls
this looks fineString firstPart=//some xpathString lastpart=//rest of xpathList<WebElement> elem = driver.findElements(firstPart+lastpart);
For two string it looks fine, how about two WebElement which is of Type By
cannot work with webelement.