Lines Matching refs:tab
23 tab = cr.browser.tabs[0]
24 tab.Navigate(cr.browser.platform.http_server.UrlOf(
29 def check_video_is_playing(self, tab):
33 @param tab: Object to the browser tab
37 return tab.EvaluateJavaScript('player.getCurrentTime()')
45 def suspend_with_youtube(self, tab, video_url):
49 @param tab: Object to the browser tab
52 tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
54 tab.EvaluateJavaScript('play("%s")' % video_url)
55 tab.WaitForJavaScriptCondition('typeof player != "undefined"',
58 self.check_video_is_playing(tab)
68 self.check_video_is_playing(tab)