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

Unified Diff: chrome/test/functional/tracing/tab_tracker.py

Issue 10855161: Improve pyautolib errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/test/functional/webrtc_brutality_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/tracing/tab_tracker.py
diff --git a/chrome/test/functional/tracing/tab_tracker.py b/chrome/test/functional/tracing/tab_tracker.py
index 4b3145ee24abe144796478cd86e8c7cccc6fa3b0..87e4886b26dc1aa442d8e15b56c39eab6eb84daa 100644
--- a/chrome/test/functional/tracing/tab_tracker.py
+++ b/chrome/test/functional/tracing/tab_tracker.py
@@ -60,7 +60,7 @@ class TabTracker(object):
tab_uuid: the uuid of the tab to close
"""
idx = self.GetTabIndex(tab_uuid)
- self._browser.GetBrowserWindow(self._window_idx).GetTab(idx).Close()
+ self._browser.CloseTab(tab_index=idx, windex=self._window_idx)
del self._uuids[idx]
def GetTabIndex(self, tab_uuid):
« no previous file with comments | « no previous file | chrome/test/functional/webrtc_brutality_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698