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

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: Address comments from review 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
« no previous file with comments | « no previous file | chrome/test/chromedriver/client/command_executor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0f85d6df29688c6736e0953c83b9e52f3541da41 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 IsAutoReporting(self):
+ return self.ExecuteCommand(Command.IS_AUTO_REPORTING)
+
+ def SetAutoReporting(self, enabled):
+ self.ExecuteCommand(Command.SET_AUTO_REPORTING, {'enabled': enabled})
« no previous file with comments | « no previous file | chrome/test/chromedriver/client/command_executor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698