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

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

Issue 11746025: [chromedriver]Implement command: title. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 12 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/chromedriver.py
diff --git a/chrome/test/chromedriver/chromedriver.py b/chrome/test/chromedriver/chromedriver.py
index acb644581bc33600532b7f0f5d167a99e950ebb3..213b25f51f1c09cb972ed1e91e51012b52bcbced 100644
--- a/chrome/test/chromedriver/chromedriver.py
+++ b/chrome/test/chromedriver/chromedriver.py
@@ -75,6 +75,9 @@ class ChromeDriver(object):
return self._ExecuteSessionCommand(
'executeScript', {'script': script, 'args': args})
+ def GetTitle(self):
+ return self._ExecuteSessionCommand('title')
+
def Quit(self):
"""Quits the browser and ends the session."""
self._ExecuteSessionCommand('quit')
« no previous file with comments | « no previous file | chrome/test/chromedriver/command_executor_impl.cc » ('j') | chrome/test/chromedriver/command_executor_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698