Search This Blog

Wednesday, August 4, 2010

Selenium Commands - Part 6

R


refresh()
Simulates the user clicking the "Refresh" button on their browser.


refreshAndWait()
Generated from refresh()
Simulates the user clicking the "Refresh" button on their browser.


removeAllSelections(locator)
Arguments:
• locator - an element locator identifying a multi-select box
Unselects all of the selected options in a multi-select element.


removeAllSelectionsAndWait(locator)
Generated from removeAllSelections(locator)
Arguments:
• locator - an element locator identifying a multi-select box
Unselects all of the selected options in a multi-select element.


removeSelection(locator, optionLocator)
Arguments:
• locator - an element locator identifying a multi-select box
• optionLocator - an option locator (a label by default)
Remove a selection from the set of selected options in a multi-select element using an option locator. @see #doSelect for details of option locators


removeSelectionAndWait(locator, optionLocator)
Generated from removeSelection(locator, optionLocator)
Arguments:
• locator - an element locator identifying a multi-select box
• optionLocator - an option locator (a label by default)
Remove a selection from the set of selected options in a multi-select element using an option locator. @see #doSelect for details of option locators