HomeSort by relevance Sort by last modified time
    Searched full:_tab (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
seek_unittest.py 24 action.WillRunAction(self._tab)
25 action.RunAction(self._tab)
27 self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_SEEKED_CHECK))
28 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK))
35 action.WillRunAction(self._tab)
37 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_SEEKED_CHECK))
38 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK))
39 action.RunAction(self._tab)
41 self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_SEEKED_CHECK))
42 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_SEEKED_CHECK)
    [all...]
play_unittest.py 25 action.WillRunAction(self._tab)
27 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
28 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
29 action.RunAction(self._tab)
31 self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
32 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
39 action.WillRunAction(self._tab)
41 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
42 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
43 action.RunAction(self._tab)
    [all...]
loop_unittest.py 25 action.WillRunAction(self._tab)
26 action.RunAction(self._tab)
28 self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
29 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_LOOP_CHECK))
36 action.WillRunAction(self._tab)
38 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
39 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_LOOP_CHECK))
40 action.RunAction(self._tab)
42 self.assertTrue(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
43 self.assertTrue(self._tab.EvaluateJavaScript(AUDIO_1_LOOP_CHECK)
    [all...]
mouse_click_unittest.py 15 self._tab.ExecuteJavaScript("""
27 i.WillRunAction(self._tab)
28 i.RunAction(self._tab)
29 self.assertTrue(self._tab.EvaluateJavaScript(
35 self._tab.ExecuteJavaScript("""
47 i.WillRunAction(self._tab)
49 i.RunAction(self._tab)
scroll_unittest.py 15 self._tab.ExecuteJavaScript("""document.body.style.height =
19 self._tab.EvaluateJavaScript("""document.documentElement.scrollTop
23 i.WillRunAction(self._tab)
25 self._tab.ExecuteJavaScript("""
32 i.RunAction(self._tab)
34 self.assertTrue(self._tab.EvaluateJavaScript('window.__didBeginMeasuring'))
35 self.assertTrue(self._tab.EvaluateJavaScript('window.__didEndMeasuring'))
37 scroll_position = self._tab.EvaluateJavaScript(
45 branch_num = self._tab.browser._browser_backend.devtools_client \
53 self._tab.ExecuteJavaScript("""document.body.style.height
    [all...]
load_media_unittest.py 18 return self._tab.EvaluateJavaScript(
26 action.WillRunAction(self._tab)
27 action.RunAction(self._tab)
34 action.WillRunAction(self._tab)
35 action.RunAction(self._tab)
43 action.WillRunAction(self._tab)
44 action.RunAction(self._tab)
52 action.WillRunAction(self._tab)
53 action.RunAction(self._tab)
62 action.WillRunAction(self._tab)
    [all...]
drag_unittest.py 26 self._tab.ExecuteJavaScript(js)
28 div_width = self._tab.EvaluateJavaScript(
30 div_height = self._tab.EvaluateJavaScript(
36 i.WillRunAction(self._tab)
42 self._tab.ExecuteJavaScript('''
49 i.RunAction(self._tab)
51 self.assertTrue(self._tab.EvaluateJavaScript('window.__didBeginMeasuring'))
52 self.assertTrue(self._tab.EvaluateJavaScript('window.__didEndMeasuring'))
54 div_position_x = self._tab.EvaluateJavaScript(
56 div_position_y = self._tab.EvaluateJavaScript
    [all...]
page_action_unittest.py 16 runner = action_runner.ActionRunner(self._tab)
33 self._tab, 'function(el) { return el.textContent; }',
38 self._tab, 'function(el) { return el.textContent; }',
43 self._tab, 'function(el) { return el.textContent; }',
48 self._tab, 'function(el) { return el.textContent; }',
58 self._tab, 'function(el) { return el; }',
65 self._tab, 'function(el, info) { return info; }',
71 self._tab, 'function() {}', selector='div', text='foo')
76 self._tab, 'function() {}', selector='div', element_function='foo')
81 self._tab, 'function() {}', text='foo', element_function=''
    [all...]
repeatable_scroll_unittest.py 17 self._tab.ExecuteJavaScript('document.body.style.height = '
21 self._tab.EvaluateJavaScript('document.documentElement.scrollTop '
24 self._browser_info = browser_info_module.BrowserInfo(self._tab.browser)
26 self._tab.EvaluateJavaScript('window.innerHeight'))
35 i.WillRunAction(self._tab)
37 i.RunAction(self._tab)
39 scroll_position = self._tab.EvaluateJavaScript(
55 i.WillRunAction(self._tab)
57 i.RunAction(self._tab)
59 scroll_position = self._tab.EvaluateJavaScript
    [all...]
navigate_unittest.py 12 i.RunAction(self._tab)
14 self._tab.EvaluateJavaScript('document.location.pathname;'),
action_runner_unittest.py 21 renderer_thread = timeline_model.GetRendererThreadFromTabId(self._tab.id)
29 action_runner = action_runner_module.ActionRunner(self._tab,
61 action_runner = action_runner_module.ActionRunner(self._tab,
65 self.assertEqual(42, self._tab.EvaluateJavaScript('testing'))
69 action_runner = action_runner_module.ActionRunner(self._tab,
74 self.assertTrue(self._tab.EvaluateJavaScript(
78 self._tab.EvaluateJavaScript('document.location.pathname;'),
82 action_runner = action_runner_module.ActionRunner(self._tab)
88 self.assertEqual(101, self._tab.EvaluateJavaScript('window.testing'))
93 self.assertEqual(102, self._tab.EvaluateJavaScript('window.testing')
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
inspector_page_unittest.py 17 self._tab.EvaluateJavaScript('document.location.pathname;'),
20 self._tab.ExecuteJavaScript('document.getElementById("clickme").click();')
21 self._tab.WaitForNavigate()
24 self._tab.EvaluateJavaScript('document.location.pathname;'),
29 self._tab.ExecuteJavaScript('document.cookie="foo=bar"')
30 self.assertEquals(self._tab.GetCookieByName('foo'), 'bar')
35 self._tab.WaitForDocumentReadyStateToBeComplete()
36 self.assertEquals(self._tab.EvaluateJavaScript('foo'), 'bar')
40 if not self._tab.screenshot_supported:
43 res = image_util.Pixels(self._tab.Screenshot()
    [all...]
inspector_runtime_unittest.py 13 res = self._tab.EvaluateJavaScript('1+1')
18 lambda: self._tab.EvaluateJavaScript('fsdfsdfsf'))
23 self._tab.EvaluateJavaScript("""
35 self._tab.ExecuteJavaScript('window')
39 starting_contexts = self._tab.EnableAllContexts()
45 self._tab.WaitForJavaScriptExpression(test_defined_js, timeout=10)
49 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts,
52 self.assertEquals(self._tab.EvaluateJavaScript('testVar'), 'host')
57 return self._tab.EvaluateJavaScriptInContext(test_defined_js,
67 return self._tab.EvaluateJavaScriptInContext('testVar', context_id
    [all...]
inspector_console_unittest.py 15 initial = self._tab.EvaluateJavaScript('window.__logCount')
17 current = self._tab.EvaluateJavaScript('window.__logCount')
22 self._tab._inspector_backend.GetCurrentConsoleOutputBuffer())
inspector_memory_unittest.py 15 self._tab = self._browser.tabs.New()
19 self._tab.ExecuteJavaScript('gc();')
25 counts = self._tab.dom_stats
  /external/chromium-trace/catapult/telemetry/telemetry/testing/
tab_test_case.py 12 self._tab = None
23 self._tab = self._browser.tabs[0]
28 self._tab.Navigate('about:blank')
29 self._tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
37 self._tab.Navigate(url, script_to_evaluate_on_commit)
38 self._tab.WaitForDocumentReadyStateToBeComplete()
44 self._tab = self._browser.tabs[0]
  /external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
tab_unittest.py 55 self._tab.Navigate(self.UrlOfUnittestFile('blank.html'))
56 self._tab.WaitForDocumentReadyStateToBeComplete()
59 self._tab.Navigate(self.UrlOfUnittestFile('blank.html'))
60 self._tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
63 self.assertEquals(self._tab.browser, self._browser)
67 lambda: self._tab.Navigate('chrome://crash',
71 self._tab.EvaluateJavaScript("""
79 self._tab.WaitForJavaScriptExpression(
82 self._tab.WaitForJavaScriptExpression(
91 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5
    [all...]
user_agent_unittest.py 17 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent')
27 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent')
37 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent')
  /external/autotest/client/cros/
semiauto_framework.py 29 self._tab = self._browser.tabs[0]
32 self._tab.Navigate(self._browser.platform.http_server.UrlOf(
41 """Replace the body of self._tab with provided html.
48 self._tab.ExecuteJavaScript('window.__ready = 0; '
50 self._tab.Activate()
51 self._tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
54 """Replace the body of self._tab with a blank screen.
59 """Replace the body of self._tab with provided html and buttons.
76 """Replace the body of self._tab with provided html and a textbox.
96 complete = lambda: self._tab.EvaluateJavaScript('window.__ready') ==
    [all...]
  /external/autotest/client/common_lib/cros/
interactive_xmlrpc_server.py 41 self._tab = self._chrome.browser.tabs[0]
42 self._tab.Navigate(
61 self._tab.ExecuteJavaScript('document.body.innerHTML = %s; ' %
63 self._tab.Activate()
64 self._tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
81 self._tab.ExecuteJavaScript(
84 self._tab.Activate()
85 self._tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
124 self._tab.EvaluateJavaScript('window.__ready') == 1,
128 result = self._tab.EvaluateJavaScript('window.__result'
    [all...]
  /external/autotest/client/cros/video/
youtube_helper.py 35 self._tab = youtube_tab
41 self._video_duration = (int(self._tab.EvaluateJavaScript(
52 return int(self._tab.EvaluateJavaScript('player.getCurrentTime()'))
57 return self._tab.EvaluateJavaScript(
68 self._tab.ExecuteJavaScript(
74 return self._tab.EvaluateJavaScript('player.getPlaybackQuality()')
108 self._tab.ExecuteJavaScript(
145 video_qualities = self._tab.EvaluateJavaScript(
177 self._tab.ExecuteJavaScript('player.pauseVideo()')
179 self._tab.ExecuteJavaScript('player.playVideo()'
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/core/
memory_cache_http_server_unittest.py 21 x = self._tab.EvaluateJavaScript('document.body.innerHTML')
47 self._tab.ExecuteJavaScript("""
58 self._tab.WaitForJavaScriptExpression('loaded', 5)
59 content_range = self._tab.EvaluateJavaScript(
64 content_length = self._tab.EvaluateJavaScript(
  /external/autotest/client/site_tests/accessibility_Sanity/
accessibility_Sanity.py 56 """Fail test unless indicator presence is given value on self._tab."""
62 return self._tab.EvaluateJavaScript(poll_cmd) > 0
64 return self._tab.EvaluateJavaScript(poll_cmd) == 0
101 self._tab.Navigate(self._url) # reload page to remove old indicators
113 self._tab = cr.browser.tabs[0]
118 self._tab.Navigate(self._url)
  /external/autotest/client/site_tests/video_VimeoVideo/
video_VimeoVideo.py 33 return self._tab.EvaluateJavaScript('vimeo_player.status')
38 self._tab.WaitForJavaScriptExpression(
58 self._tab.WaitForJavaScriptExpression(
61 return float(self._tab.EvaluateJavaScript('vimeo_player.duration'))
70 self._tab = browser.tabs[0]
71 self._tab.Navigate(browser.platform.http_server.UrlOf(
  /external/autotest/client/site_tests/security_SandboxStatus/
security_SandboxStatus.py 21 return self._tab.EvaluateJavaScript(js)
26 self._tab.Navigate(url)
59 self._tab = cr.browser.tabs[0]

Completed in 194 milliseconds

1 2