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

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

Issue 454133003: [ChromeDriver] Implementing tracing support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing nits Created 6 years, 4 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 | « chrome/test/chromedriver/capabilities_unittest.cc ('k') | chrome/test/chromedriver/logging.h » ('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 063de9900b0af66972a521b21f6dd3d7b3d50ef3..fb1aa2b27fded702a22419ca0273bc43a79de2d2 100644
--- a/chrome/test/chromedriver/client/chromedriver.py
+++ b/chrome/test/chromedriver/client/chromedriver.py
@@ -65,7 +65,8 @@ class ChromeDriver(object):
android_use_running_app=None, chrome_switches=None,
chrome_extensions=None, chrome_log_path=None,
debugger_address=None, browser_log_level=None,
- mobile_emulation=None, experimental_options=None):
+ performance_log_level=None, mobile_emulation=None,
+ experimental_options=None):
self._executor = command_executor.CommandExecutor(server_url)
options = {}
@@ -110,6 +111,9 @@ class ChromeDriver(object):
if browser_log_level:
assert browser_log_level in log_levels
logging_prefs['browser'] = browser_log_level
+ if performance_log_level:
+ assert performance_log_level in log_levels
+ logging_prefs['performance'] = performance_log_level
params = {
'desiredCapabilities': {
« no previous file with comments | « chrome/test/chromedriver/capabilities_unittest.cc ('k') | chrome/test/chromedriver/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698