An NDoc Documented Class Library

DefaultSelenium.IsOrdered Method 

Check if these two elements have same parent and are ordered. Two same elements will not be considered ordered.

public bool IsOrdered(
   string locator1,
   string locator2
);

Parameters

locator1
an element locator pointing to the first element
locator2
an element locator pointing to the second element

Return Value

true if two elements are ordered and have same parent, false otherwise

Implements

ISelenium.IsOrdered

See Also

DefaultSelenium Class | Selenium Namespace