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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/test/chromedriver/client/command_executor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import command_executor 5 import command_executor
6 from command_executor import Command 6 from command_executor import Command
7 from webelement import WebElement 7 from webelement import WebElement
8 8
9 9
10 class ChromeDriverException(Exception): 10 class ChromeDriverException(Exception):
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 def Quit(self): 305 def Quit(self):
306 """Quits the browser and ends the session.""" 306 """Quits the browser and ends the session."""
307 self.ExecuteCommand(Command.QUIT) 307 self.ExecuteCommand(Command.QUIT)
308 308
309 def GetLog(self, type): 309 def GetLog(self, type):
310 return self.ExecuteCommand(Command.GET_LOG, {'type': type}) 310 return self.ExecuteCommand(Command.GET_LOG, {'type': type})
311 311
312 def GetAvailableLogTypes(self): 312 def GetAvailableLogTypes(self):
313 return self.ExecuteCommand(Command.GET_AVAILABLE_LOG_TYPES) 313 return self.ExecuteCommand(Command.GET_AVAILABLE_LOG_TYPES)
314
315 def IsAutoReporting(self):
316 return self.ExecuteCommand(Command.IS_AUTO_REPORTING)
317
318 def SetAutoReporting(self, enabled):
319 self.ExecuteCommand(Command.SET_AUTO_REPORTING, {'enabled': enabled})
OLDNEW
« 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