Searched refs:action_runner (Results 1 - 25 of 81) sorted by relevance

1234

/external/chromium_org/tools/perf/page_sets/
H A Dcalendar_forward_backward.py22 def RunNavigateSteps(self, action_runner):
23 action_runner.NavigateToPage(self)
24 action_runner.Wait(2)
25 action_runner.WaitForElement('div[class~="navForward"]')
26 action_runner.ExecuteJavaScript('''
34 def RunEndure(self, action_runner):
35 action_runner.ClickElement('div[class~="navForward"]')
36 action_runner.Wait(2)
37 action_runner.WaitForElement('div[class~="navForward"]')
38 action_runner
[all...]
H A Dtop_25.py8 def _GetCurrentLocation(action_runner):
9 return action_runner.EvaluateJavaScript('document.location.href')
12 def _WaitForLocationChange(action_runner, old_href):
13 action_runner.WaitForJavaScriptCondition(
25 def RunSmoothness(self, action_runner):
26 interaction = action_runner.BeginGestureInteraction(
28 action_runner.ScrollPage()
31 def RunRepaint(self, action_runner):
32 action_runner.RepaintContinuously(seconds=5)
44 def RunNavigateSteps(self, action_runner)
[all...]
H A Dgmail_compose_discard.py32 def RunNavigateSteps(self, action_runner):
33 action_runner.NavigateToPage(self)
34 action_runner.WaitForJavaScriptCondition(
38 def ComposeClick(self, action_runner):
39 action_runner.ExecuteJavaScript('''
50 def RunEndure(self, action_runner):
51 action_runner.WaitForElement(
53 self.ComposeClick(action_runner)
54 action_runner.Wait(1)
55 action_runner
[all...]
H A Dindexeddb_offline.py31 def RunNavigateSteps(self, action_runner):
32 action_runner.NavigateToPage(self)
33 action_runner.WaitForElement(text='initialized')
35 def RunEndure(self, action_runner):
36 action_runner.WaitForElement('button[id="online"]:not(disabled)')
37 action_runner.ClickElement('button[id="online"]:not(disabled)')
38 action_runner.WaitForElement(
40 action_runner.Wait(1)
41 action_runner.WaitForElement('button[id="offline"]:not(disabled)')
42 action_runner
[all...]
H A Dplus_alt_posts_photos.py22 def RunNavigateSteps(self, action_runner):
23 action_runner.NavigateToPage(self)
24 action_runner.WaitForElement(text='Barack Obama')
25 action_runner.WaitForElement(
28 def RunEndure(self, action_runner):
29 action_runner.ClickElement('span[guidedhelpid="posts_tab_profile"]')
30 action_runner.WaitForElement(
32 action_runner.Wait(5)
33 action_runner.ClickElement('span[guidedhelpid="photos_tab_profile"]')
34 action_runner
[all...]
H A Dgmail_alt_threadlist_conversation.py20 def _GetCurrentLocation(action_runner):
21 return action_runner.EvaluateJavaScript('document.location.href')
24 def _WaitForLocationChange(action_runner, old_href):
25 action_runner.WaitForJavaScriptCondition(
44 def RunNavigateSteps(self, action_runner):
45 action_runner.NavigateToPage(self)
46 action_runner.WaitForJavaScriptCondition(
50 def RunEndure(self, action_runner):
51 old_href = _GetCurrentLocation(action_runner)
52 action_runner
[all...]
H A Dgmail_alt_two_labels.py8 def _GetCurrentLocation(action_runner):
9 return action_runner.EvaluateJavaScript('document.location.href')
12 def _WaitForLocationChange(action_runner, old_href):
13 action_runner.WaitForJavaScriptCondition(
32 def RunNavigateSteps(self, action_runner):
33 action_runner.NavigateToPage(self)
34 action_runner.WaitForJavaScriptCondition(
38 def RunEndure(self, action_runner):
39 old_href = _GetCurrentLocation(action_runner)
40 action_runner
[all...]
H A Dkey_silk_cases.py16 def RunNavigateSteps(self, action_runner):
17 action_runner.NavigateToPage(self)
18 action_runner.Wait(2)
20 def RunSmoothness(self, action_runner):
21 interaction = action_runner.BeginGestureInteraction(
23 action_runner.ScrollPage()
36 def RunSmoothness(self, action_runner):
37 interaction = action_runner.BeginGestureInteraction(
39 action_runner.ScrollElement(selector='#scrollable')
52 def RunSmoothness(self, action_runner)
[all...]
H A Dgmail_expand_collapse_conversation.py24 def RunNavigateSteps(self, action_runner):
25 action_runner.NavigateToPage(self)
26 action_runner.WaitForElement('img[alt="Expand all"]')
27 action_runner.ClickElement('img[alt="Expand all"]')
28 action_runner.Wait(5)
29 action_runner.WaitForElement('img[alt="Collapse all"]')
30 action_runner.ClickElement('img[alt="Collapse all"]')
31 action_runner.Wait(1)
33 def RunEndure(self, action_runner):
34 action_runner
[all...]
H A Dtop_desktop_sites_2012Q3.py16 def ReloadAndGc(self, action_runner):
17 action_runner.ReloadPage()
18 action_runner.Wait(1)
19 action_runner.ForceGarbageCollection()
21 def RunSmoothness(self, action_runner):
22 interaction = action_runner.BeginGestureInteraction(
24 action_runner.ScrollPage()
27 def RunStressMemory(self, action_runner):
29 self.ReloadAndGc(action_runner)
H A Dwebrtc_cases.py23 def RunWebrtc(self, action_runner):
24 action_runner.NavigateToPage(self)
25 action_runner.Wait(10)
26 action_runner.ExecuteJavaScript('checkForErrors();')
38 def RunWebrtc(self, action_runner):
39 action_runner.ClickElement('button[id="btn1"]')
40 action_runner.Wait(2)
41 action_runner.ClickElement('button[id="btn2"]')
42 action_runner.Wait(10)
43 action_runner
[all...]
H A Dbrowser_control_click.py21 def RunNavigateSteps(self, action_runner):
22 action_runner.NavigateToPage(self)
23 action_runner.WaitForElement('#attach')
25 def RunEndure(self, action_runner):
26 action_runner.ClickElement('#attach')
27 action_runner.Wait(0.5)
28 action_runner.ClickElement('#detach')
29 action_runner.Wait(0.5)
H A Dgarbage_collection_cases.py18 def RunNavigateSteps(self, action_runner):
19 action_runner.NavigateToPage(self)
20 action_runner.WaitForJavaScriptCondition(
22 action_runner.ClickElement(selector='input[type="submit"]')
23 action_runner.WaitForJavaScriptCondition(
26 def RunSmoothness(self, action_runner):
27 interaction = action_runner.BeginInteraction(
29 action_runner.Wait(15)
H A Dpolymer.py19 def RunNavigateSteps(self, action_runner):
20 action_runner.NavigateToPage(self)
21 action_runner.WaitForJavaScriptCondition(
33 def RunSmoothness(self, action_runner):
34 self.TapButton(action_runner)
35 self.SlidePanel(action_runner)
37 def TapButton(self, action_runner):
38 interaction = action_runner.BeginInteraction(
40 action_runner.TapElement(element_function='''
48 action_runner
[all...]
H A Dmobile_memory.py30 def ReloadAndGc(self, action_runner):
31 action_runner.ReloadPage()
32 action_runner.Wait(15)
33 action_runner.ForceGarbageCollection()
35 def RunStressMemory(self, action_runner):
37 self.ReloadAndGc(action_runner)
49 def RunStressMemory(self, action_runner):
50 interaction = action_runner.BeginGestureInteraction(
52 action_runner.ScrollPage()
54 action_runner
[all...]
H A Dtop_10.py13 def RunSmoothness(self, action_runner):
14 interaction = action_runner.BeginGestureInteraction(
16 action_runner.ScrollPage()
24 def RunNavigateSteps(self, action_runner):
25 super(Google, self).RunNavigateSteps(action_runner)
26 action_runner.WaitForElement(text='Next')
36 def RunNavigateSteps(self, action_runner):
37 super(Gmail, self).RunNavigateSteps(action_runner)
38 action_runner.WaitForJavaScriptCondition(
50 def RunNavigateSteps(self, action_runner)
[all...]
H A Dtough_filters_cases.py10 def RunSmoothness(self, action_runner):
11 action_runner.Wait(10)
16 def RunSmoothness(self, action_runner):
17 action_runner.EvaluateJavaScript(
19 action_runner.Wait(10)
H A Dmedia_cns_cases.py14 def PlayAction(self, action_runner):
15 action_runner.PlayMedia(playing_event_timeout_in_seconds=60,
18 def RunMediaMetrics(self, action_runner):
19 self.PlayAction(action_runner)
21 def SeekBeforeAndAfterPlayhead(self, action_runner):
22 action_runner.PlayMedia(playing_event_timeout_in_seconds=60)
24 action_runner.Wait(1)
26 action_runner.SeekMedia(seconds=0.5, timeout_in_seconds=60,
29 action_runner.SeekMedia(seconds=15, timeout_in_seconds=60,
39 def RunMediaMetrics(self, action_runner)
[all...]
H A Dtough_pepper_cases.py12 def RunSmoothness(self, action_runner):
13 interaction = action_runner.BeginGestureInteraction(
15 action_runner.ScrollPage()
28 def RunSmoothness(self, action_runner):
30 action_runner.WaitForJavaScriptCondition(
32 interaction = action_runner.BeginGestureInteraction(
34 action_runner.ScrollPage(
H A Dtough_pinch_zoom_cases.py17 def RunSmoothness(self, action_runner):
18 interaction = action_runner.BeginGestureInteraction(
20 action_runner.PinchPage()
33 def RunNavigateSteps(self, action_runner):
34 action_runner.NavigateToPage(self)
35 action_runner.WaitForElement(text='Next')
49 def RunNavigateSteps(self, action_runner):
50 action_runner.NavigateToPage(self)
51 action_runner.WaitForJavaScriptCondition(
67 def RunNavigateSteps(self, action_runner)
[all...]
H A Dtough_webgl_cases.py22 def RunNavigateSteps(self, action_runner):
23 action_runner.NavigateToPage(self)
24 action_runner.WaitForJavaScriptCondition(
26 action_runner.Wait(2)
28 def RunSmoothness(self, action_runner):
29 action_runner.Wait(5)
H A Dkey_mobile_sites.py17 def RunSmoothness(self, action_runner):
18 interaction = action_runner.BeginGestureInteraction(
20 action_runner.ScrollPage()
23 def RunRepaint(self, action_runner):
24 action_runner.RepaintContinuously(seconds=5)
49 def RunNavigateSteps(self, action_runner):
50 action_runner.NavigateToPage(self)
51 action_runner.WaitForElement(text='Next 35')
52 action_runner.WaitForJavaScriptCondition(
78 def RunNavigateSteps(self, action_runner)
[all...]
H A Dservice_worker.py13 def RunNavigateSteps(self, action_runner):
14 action_runner.NavigateToPage()
15 action_runner.WaitForJavaScriptCondition('window.done')
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Daction_runner_unittest.py10 from telemetry.page.actions import action_runner as action_runner_module
29 action_runner = action_runner_module.ActionRunner(self._tab,
32 action_runner.Wait(1)
37 interaction = action_runner.BeginInteraction('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
[all...]
H A Dpinch_unittest.py5 from telemetry.page.actions 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'))

Completed in 190 milliseconds

1234