How to get xpath from alias object
Basically, I want to pass a mapped object as a parameter to my coded method. In this method, I need to use that mapped element as a parameter for FindElements functions, but that's not directly possible. FindElements requires xpath or css selector as a parameter. So what I need is a method, which returns xpath from mapped/alias element.
Thank you in advance.