Index: tools/telemetry/telemetry/tab.py |
diff --git a/tools/telemetry/telemetry/tab.py b/tools/telemetry/telemetry/tab.py |
index 7f3730fa8e8b246947126299582b2d5ca7a986a6..d9b8e751fa6d64f1c523b675c763b4118d0babd7 100644 |
--- a/tools/telemetry/telemetry/tab.py |
+++ b/tools/telemetry/telemetry/tab.py |
@@ -49,6 +49,11 @@ class Tab(object): |
self._timeline = inspector_timeline.InspectorTimeline( |
self._inspector_backend, self) |
+ def Navigate(self, url): |
nduca
2012/12/21 22:15:23
Why? This doesn't fit with the design we have.
Danh Nguyen
2012/12/26 19:13:04
Removed. I'll move these calls into the tests ins
|
+ """Navigates to the given url.""" |
+ self.page.Navigate(url) |
+ self.Disconnect() |
nduca
2012/12/21 22:15:23
and why disconnect?
Danh Nguyen
2012/12/26 19:13:04
The Disconnect() is the get around so that TabCont
|
+ |
def Disconnect(self): |
"""Closes the connection to this tab.""" |
self._console = None |