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

Unified Diff: chrome/test/chromedriver/client/chromedriver.py

Issue 101203012: [chromedriver] Add an error autoreporting feature that automatically raises errors from browser logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 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/chromedriver/client/chromedriver.py
diff --git a/chrome/test/chromedriver/client/chromedriver.py b/chrome/test/chromedriver/client/chromedriver.py
index dccfde469e9b1905347c0b70618e68bc8e360a1e..d3caa577495378aa0238109bad87d0d6dc22c8e8 100644
--- a/chrome/test/chromedriver/client/chromedriver.py
+++ b/chrome/test/chromedriver/client/chromedriver.py
@@ -311,3 +311,9 @@ class ChromeDriver(object):
def GetAvailableLogTypes(self):
return self.ExecuteCommand(Command.GET_AVAILABLE_LOG_TYPES)
+
+ def IsAutoReportingEnabled(self):
+ return self.ExecuteCommand(Command.IS_AUTO_REPORTING_ENABLED)
+
+ def SetAutoReportingEnabled(self, enable):
+ self.ExecuteCommand(Command.SET_AUTO_REPORTING_ENABLED, {'enable': enable})
frankf 2014/01/08 01:23:49 i'd name enable -> enabled
chrisgao (Use stgao instead) 2014/01/09 22:11:55 +1
samuong 2014/01/16 00:29:28 Done.
« no previous file with comments | « no previous file | chrome/test/chromedriver/client/command_executor.py » ('j') | chrome/test/chromedriver/logging.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698