Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: chrome/test/webdriver/session.h

Issue 5572001: Send screenshots back to the client for debugging (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: for review Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/webdriver/session.h
diff --git a/chrome/test/webdriver/session.h b/chrome/test/webdriver/session.h
index 5969b86e2add0527b9e094f4804c021b8f2f3db6..3c018c7e8ed4ff7bd4b824a4dd3031a54f4fceac 100644
--- a/chrome/test/webdriver/session.h
+++ b/chrome/test/webdriver/session.h
@@ -78,7 +78,6 @@ class Session {
void MouseClick(const gfx::Point& click, int flags);
bool MouseMove(const gfx::Point& location);
bool MouseDrag(const gfx::Point& start, const gfx::Point& end);
-
bool NavigateToURL(const std::string& url);
bool GoForward();
bool GoBack();
@@ -91,6 +90,8 @@ class Session {
std::string* cookie);
bool DeleteCookie(const GURL& url, const std::string& cookie_name);
bool SetCookie(const GURL& url, const std::string& cookie);
+ bool CaptureEntirePageAsPNG(const FilePath& path);
+ bool ScreenshotAsBase64(std::string* screenshot);
// Gets all the currently existing window IDs. Returns true on success.
bool GetWindowIds(std::vector<int>* window_ids);

Powered by Google App Engine
This is Rietveld 408576698