Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Daction_runner_unittest.py9 from telemetry.page import action_runner as action_runner_module
29 action_runner = action_runner_module.ActionRunner(self._tab,
32 action_runner.Wait(1)
37 with action_runner.CreateInteraction('InteractionName',
61 action_runner = action_runner_module.ActionRunner(self._tab,
64 action_runner.ExecuteJavaScript('var testing = 42;')
69 action_runner = action_runner_module.ActionRunner(self._tab,
71 action_runner.ClickElement('#clickme')
72 action_runner.WaitForNavigate()
82 action_runner = action_runner_module.ActionRunner(self._tab)
[all …]
Dpinch_unittest.py6 from telemetry.page import action_runner as action_runner_module
19 action_runner = action_runner_module.ActionRunner(self._tab)
20 action_runner.ExecuteJavaScript('''
30 action_runner.PinchPage(scale_factor=2)
32 2, action_runner.EvaluateJavaScript('window.__test_scaleFactor'))
34 action_runner.EvaluateJavaScript('!isNaN(window.__test_anchorLeft)'))
36 action_runner.EvaluateJavaScript('!isNaN(window.__test_anchorTop)'))
38 action_runner.EvaluateJavaScript('!!window.__test_callback'))
40 800, action_runner.EvaluateJavaScript('window.__test_speed'))
/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.py55 def _WaitForLoginState(self, action_runner): argument
59 action_runner.WaitForJavaScriptCondition(condition, 60)
61 def _SubmitLoginFormAndWait(self, action_runner, tab, username, password): argument
76 action_runner.WaitForNavigate()
79 def LoginNeeded(self, tab, action_runner, config): argument
103 self._WaitForLoginState(action_runner)
110 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_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_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_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_jsfiddlebigcar_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_ynevsvg_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_digg_nexus10.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_wowwiki_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(25)
Dskia_theverge_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(15)
Dskia_mozilla_nexus10.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_pokemonwiki_desktop.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_tiger8svg_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_ugamsolutions_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(15)
Dskia_gamedeksiam_nexus10.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(5)
Dskia_nytimes_desktop.py22 def RunNavigateSteps(self, action_runner): argument
23 action_runner.Navigate(self.url)
24 action_runner.Wait(15)
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/
Dtimeline_based_page_test_unittest.py26 def RunPageInteractions(self, action_runner): argument
28 action_runner.TapElement('#animating-button')
29 action_runner.WaitForJavaScriptCondition('window.animationDone')
31 action_runner.TapElement('#jank-button')
32 action_runner.WaitForJavaScriptCondition('window.jankScriptDone')
34 action_runner.TapElement('#slow-button')
35 action_runner.WaitForJavaScriptCondition('window.slowScriptDone')
37 with action_runner.CreateGestureInteraction('Scroll'):
38 action_runner.ScrollPage()

12