Lines Matching refs:tab
66 def _wait_for_page_ready(self, tab):
67 """Wait for JavaScript on page in |tab| to set the pageReady flag.
69 @param tab: browser tab with page to load.
72 lambda: tab.EvaluateJavaScript('pageReady'),
76 def _are_notifications_allowed(self, tab):
79 @param: chrome tab which has test page loaded.
82 notification_permission = tab.EvaluateJavaScript(
100 tab = self.navigate_to_url(self.TEST_URL)
101 self._wait_for_page_ready(tab)
102 notifications_allowed = self._are_notifications_allowed(tab)
113 tab.Close()