Home
last modified time | relevance | path

Searched refs:action_runner (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Daction_runner_unittest.py9 from telemetry.internal.actions import action_runner as action_runner_module
32 action_runner = action_runner_module.ActionRunner(self._tab,
35 action_runner.Wait(1)
40 with action_runner.CreateInteraction('InteractionName',
64 self.action_runner = action_runner_module.ActionRunner(self._tab,
70 self.assertIsNone(self.action_runner.MeasureMemory())
81 dump_id = self.action_runner.MeasureMemory(deterministic_mode)
103 self.action_runner, 'ForceGarbageCollection') as mock_method:
116 action_runner = action_runner_module.ActionRunner(self._tab,
119 action_runner.ExecuteJavaScript('var testing = 42;')
[all …]
Dpinch_unittest.py18 action_runner = self._tab.action_runner
19 action_runner.ExecuteJavaScript('''
29 action_runner.PinchPage(scale_factor=2)
31 2, action_runner.EvaluateJavaScript('window.__test_scaleFactor'))
33 action_runner.EvaluateJavaScript('!isNaN(window.__test_anchorLeft)'))
35 action_runner.EvaluateJavaScript('!isNaN(window.__test_anchorTop)'))
37 action_runner.EvaluateJavaScript('!!window.__test_callback'))
39 800, action_runner.EvaluateJavaScript('window.__test_speed'))
/external/chromium-trace/catapult/telemetry/examples/browser_tests/
Dsimple_browser_test.py29 cls.action_runner = cls.browser.tabs[0].action_runner
35 self.action_runner.Navigate(url)
36 actual_sum = self.action_runner.EvaluateJavaScript(
42 self.action_runner.Navigate(url)
43 self.action_runner.ExecuteJavaScript('valueSettableByTest = 1997')
44 self.action_runner.ClickElement(text='Click/tap me')
46 1997, self.action_runner.EvaluateJavaScript('valueToTest'))
53 self.action_runner.Navigate(url)
62 self.action_runner.WaitForElement('#id-0')
63 self.action_runner.ClickElement('#id-0')
[all …]
/external/chromium-trace/catapult/telemetry/examples/benchmarks/
Dsimple_story_set.py16 def RunPageInteractions(self, action_runner): argument
20 action_runner.Wait(0.5)
23 with action_runner.CreateInteraction('Scroll-And-Tap'):
24 action_runner.Wait(0.3)
25 action_runner.ScrollPage()
26 action_runner.TapElement(text='Next')
27 action_runner.Wait(1)
28 with action_runner.CreateInteraction('Scroll'):
29 action_runner.ScrollPage()
30 with action_runner.CreateInteraction('Wait-two'):
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dform_based_credentials_backend.py57 def _WaitForLoginState(self, action_runner): argument
59 action_runner.WaitForJavaScriptCondition(
64 def _SubmitLoginFormAndWait(self, action_runner, tab, username, password): argument
82 action_runner.WaitForNavigate()
91 def LoginNeeded(self, tab, action_runner, config): argument
115 self._WaitForLoginState(action_runner)
122 action_runner, tab, config['username'], config['password'])
/external/skia/tools/skp/page_sets/
Dskia_css3gradients_desktop.py22 def RunSmoothness(self, action_runner): argument
23 action_runner.ScrollElement()
25 def RunNavigateSteps(self, action_runner): argument
26 action_runner.Navigate(self.url)
27 action_runner.Wait(15)
Dskia_gmailthread_desktop.py23 def RunSmoothness(self, action_runner): argument
24 action_runner.ScrollElement()
26 def RunNavigateSteps(self, action_runner): argument
27 action_runner.Navigate(self.url)
28 action_runner.Wait(15)
Dskia_gmail_nexus10.py23 def RunSmoothness(self, action_runner): argument
24 action_runner.ScrollElement()
26 def RunNavigateSteps(self, action_runner): argument
27 action_runner.Navigate(self.url)
28 action_runner.Wait(10)
Dskia_unicodetable_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.ScrollPage(distance=100000)
25 action_runner.Wait(20)
Dskia_tiger8svg_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_theverge_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(15)
Dskia_jsfiddlebigcar_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_pokemonwiki_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_pravda_nexus10.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_wowwiki_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(25)
Dskia_ynevsvg_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_ugamsolutions_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(15)
Dskia_nytimes_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(15)
Dskia_digg_nexus10.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_samoasvg_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_espn_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_tigersvg_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_googlehome_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_mozilla_nexus10.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/
Dtimeline_based_page_test_unittest.py28 def RunPageInteractions(self, action_runner): argument
30 action_runner.TapElement('#animating-button')
31 action_runner.WaitForJavaScriptCondition('window.animationDone')
33 action_runner.TapElement('#jank-button')
34 action_runner.WaitForJavaScriptCondition('window.jankScriptDone')
36 action_runner.TapElement('#slow-button')
37 action_runner.WaitForJavaScriptCondition('window.slowScriptDone')
39 with action_runner.CreateGestureInteraction('Scroll'):
40 action_runner.ScrollPage()

12