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

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: address comments Created 8 years 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/chromedriver.cc ('k') | chrome/test/chromedriver/chromedriver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/chromedriver.py
diff --git a/chrome/test/chromedriver/chromedriver.py b/chrome/test/chromedriver/chromedriver.py
index cbe6d3b0537f5c36fca16641bc796969af3696cf..c0bfadde79b91bc4ab5b95ecc324b3e7be535c70 100644
--- a/chrome/test/chromedriver/chromedriver.py
+++ b/chrome/test/chromedriver/chromedriver.py
@@ -68,6 +68,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')
« no previous file with comments | « chrome/test/chromedriver/chromedriver.cc ('k') | chrome/test/chromedriver/chromedriver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698