Home | History | Annotate | Download | only in functional

Lines Matching refs:tab_index

44   def _GetTabInfo(self, windex=0, tab_index=0):
49 return self.GetBrowserInfo()['windows'][windex]['tabs'][tab_index]
73 def _VerifyGeolocationInfobar(self, windex, tab_index):
81 tab_info = self._GetTabInfo(windex, tab_index)
95 self._VerifyGeolocationInfobar(windex=0, tab_index=0)
104 for tab_index in range(1, 2):
107 self.WaitForInfobarCount(1, windex=0, tab_index=tab_index))
108 self._VerifyGeolocationInfobar(windex=0, tab_index=tab_index)
112 self.assertTrue(self.WaitForInfobarCount(1, windex=1, tab_index=0))
113 self._VerifyGeolocationInfobar(windex=1, tab_index=0)
117 self.assertTrue(self.WaitForInfobarCount(1, windex=2, tab_index=0))
118 self._VerifyGeolocationInfobar(windex=2, tab_index=0)
120 def _GetFlashCrashInfobarCount(self, windex=0, tab_index=0):
123 infobars = browser_window['tabs'][tab_index]['infobars']
150 self.assertTrue(self.WaitForInfobarCount(1, windex=0, tab_index=1))
182 def _LogIntoGoogleAccount(self, tab_index=0, windex=0):
186 tab_index: The tab index, default is 0.
192 test_utils.GoogleAccountsLogin(self, username, password, tab_index, windex)
215 def _DisplayOneClickInfobar(self, tab_index=0, windex=0):
219 tab_index: The tab index, default is 0.
222 self._LogIntoGoogleAccount(tab_index=tab_index, windex=windex)
226 tab_index=tab_index, windex=windex) is not None),