Xpath Function Using Descendants
Xpaths Descendants:-
This approach is used to locate element via XPath for all the children and sub children of the current node. In the example below all the elements like email field, password field and button will be selected. One can also select one of the mentioned fields using index.
Example 1: Xpath= //div[@class='col-lg-3 col-md-4 col-sm-6 sign-form']//descendant:: input