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

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

Issue 11415205: [chromedriver] Implement connecting to devtools and loading a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/chromedriver.py
diff --git a/chrome/test/chromedriver/chromedriver.py b/chrome/test/chromedriver/chromedriver.py
index 06afea6f243f0a2ba1281771c353f9189aed57ba..a6b57dca919988b02f9f70cb7964e2f80f149357 100644
--- a/chrome/test/chromedriver/chromedriver.py
+++ b/chrome/test/chromedriver/chromedriver.py
@@ -58,6 +58,9 @@ class ChromeDriver(object):
def _ExecuteSessionCommand(self, name, params={}):
return self._ExecuteCommand(name, params, self._session_id)
+ def Load(self, url):
+ self._ExecuteSessionCommand('get', {'url': url})
+
def Quit(self):
"""Quits the browser and ends the session."""
self._ExecuteSessionCommand('quit')

Powered by Google App Engine
This is Rietveld 408576698