Index: chrome/test/webdriver/session.h |
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h |
index c84656a81125b0154fc0e9ee3545d87a9e65c19e..4aa1cd0a6f825bb0fc583c0bdede0969fac8c455 100644 |
--- a/chrome/test/webdriver/session.h |
+++ b/chrome/test/webdriver/session.h |
@@ -248,8 +248,20 @@ class Session { |
const WebElementId& element, |
bool* is_enabled); |
- // Sets the given option element as selected. |
- Error* SelectOptionElement(const FrameId& frame_id, |
+ // Gets whether the option element is currently selected. |
+ Error* IsOptionElementSelected(const FrameId& frame_id, |
+ const WebElementId& element, |
+ bool* is_selected); |
+ |
+ // Set the selection state of the given option element. The option element |
+ // must support multi selection if |selected| is false. |
+ Error* SetOptionElementSelected(const FrameId& frame_id, |
+ const WebElementId& element, |
+ bool selected); |
+ |
+ // Toggles the option element's selection state. The option element should |
+ // support multi selection. |
+ Error* ToggleOptionElement(const FrameId& frame_id, |
const WebElementId& element); |
// Gets the tag name of the given element. |