An NDoc Documented Class Library

DefaultSelenium.IsOrdered Method 

Check if these two elements have same parent and are ordered siblings in the DOM. 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 element1 is the previous sibling of element2, false otherwise

Implements

ISelenium.IsOrdered

See Also

DefaultSelenium Class | Selenium Namespace