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

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

Issue 1022543002: [chromedriver] Implement DELETE NetworkConditions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Retrieving network conditions after deleting them raises an exception Created 5 years, 9 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 0b5a6248093827a60309e5f2bca854bb1f7420fc..bc65712563014ef1af6713d43e056c0149c1d27e 100644
--- a/chrome/test/chromedriver/client/chromedriver.py
+++ b/chrome/test/chromedriver/client/chromedriver.py
@@ -384,3 +384,6 @@ class ChromeDriver(object):
'upload_throughput': conditions['upload_throughput'],
'offline': conditions['offline']
}
+
+ def DeleteNetworkConditions(self):
+ self.ExecuteCommand(Command.DELETE_NETWORK_CONDITIONS)
« no previous file with comments | « no previous file | chrome/test/chromedriver/client/command_executor.py » ('j') | chrome/test/chromedriver/window_commands.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698