Method: Selenium::Client::GeneratedDriver#is_ordered

Defined in:
lib/selenium/client/legacy_driver.rb

#is_ordered(locator1, locator2) ⇒ Object

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

‘locator1’ is an element locator pointing to the first element ‘locator2’ is an element locator pointing to the second element


1266
1267
1268
# File 'lib/selenium/client/legacy_driver.rb', line 1266

def is_ordered(locator1,locator2)
    return boolean_command("isOrdered", [locator1,locator2,])
end