ISelenium IsOrdered Method WebDriver
Check if these two elements have same parent and are ordered siblings in the DOM. Two same elements will not be considered ordered.

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

bool IsOrdered(
	string locator1,
	string locator2
)

Return Value

true if element1 is the previous sibling of element2, false otherwise
See Also