Index: chrome/test/webdriver/session.h |
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h |
index a8b8764a285b4a4de7b61b260250b9b9490a158f..4da79f22a5cb86f6fa6770ddad467b4b33dd824e 100644 |
--- a/chrome/test/webdriver/session.h |
+++ b/chrome/test/webdriver/session.h |
@@ -98,6 +98,10 @@ class Session { |
// ownership of |element|. |
Error* SendKeys(const WebElementId& element, const string16& keys); |
+ // Sets the file paths to the file upload control under the given location. |
+ Error* DragAndDropFilePaths(const gfx::Point& location, |
+ const std::vector<std::string>& paths); |
+ |
// Clicks the mouse at the given location using the given button. |
Error* MouseMoveAndClick(const gfx::Point& location, |
automation::MouseButton button); |
@@ -236,6 +240,15 @@ class Session { |
// Waits for all tabs to stop loading. Returns true on success. |
Error* WaitForAllTabsToStopLoading(); |
+ // Gets the attribute of the given element. |
kkania
2011/06/01 16:16:41
Mention that this sets |value| on no error and the
nodchip
2011/06/02 07:15:53
Done.
|
+ Error* GetAttribute(const WebElementId& element, const std::string& key, |
+ Value** value); |
+ |
+ // Gets a clickable location of the given element. It will be the center |
+ // location of the element. |
+ Error* GetClickableLocation(const WebElementId& element, |
+ gfx::Point* location); |
+ |
const std::string& id() const; |
const FrameId& current_target() const; |