/external/chromium_org/tools/perf/page_sets/ |
D | top_25.py | 10 def _GetCurrentLocation(action_runner): argument 11 return action_runner.EvaluateJavaScript('document.location.href') 14 def _WaitForLocationChange(action_runner, old_href): argument 15 action_runner.WaitForJavaScriptCondition( 27 def RunSmoothness(self, action_runner): argument 28 action_runner.RunAction(ScrollAction()) 30 def RunRepaint(self, action_runner): argument 31 action_runner.RunAction(RepaintContinuouslyAction( 46 def RunNavigateSteps(self, action_runner): argument 47 action_runner.NavigateToPage(self) [all …]
|
D | key_silk_cases.py | 18 def RunNavigateSteps(self, action_runner): argument 19 action_runner.NavigateToPage(self) 20 action_runner.Wait(2) 22 def RunSmoothness(self, action_runner): argument 23 action_runner.RunAction(ScrollAction()) 35 def RunSmoothness(self, action_runner): argument 36 action_runner.RunAction(ScrollAction( 54 def RunSmoothness(self, action_runner): argument 55 action_runner.Wait(2) 71 def RunSmoothness(self, action_runner): argument [all …]
|
D | calendar_forward_backward.py | 24 def RunNavigateSteps(self, action_runner): argument 25 action_runner.NavigateToPage(self) 26 action_runner.Wait(2) 27 action_runner.WaitForElement('div[class~="navForward"]') 28 action_runner.ExecuteJavaScript(''' 36 def RunEndure(self, action_runner): argument 37 action_runner.ClickElement('div[class~="navForward"]') 38 action_runner.Wait(2) 39 action_runner.WaitForElement('div[class~="navForward"]') 40 action_runner.ClickElement('div[class~="navForward"]') [all …]
|
D | key_mobile_sites.py | 19 def RunSmoothness(self, action_runner): argument 20 action_runner.RunAction(ScrollAction()) 22 def RunRepaint(self, action_runner): argument 23 action_runner.RunAction(RepaintContinuouslyAction({'seconds': 5})) 48 def RunNavigateSteps(self, action_runner): argument 49 action_runner.NavigateToPage(self) 50 action_runner.WaitForElement(text='Next 35') 51 action_runner.WaitForJavaScriptCondition( 77 def RunNavigateSteps(self, action_runner): argument 78 action_runner.NavigateToPage(self) [all …]
|
D | tough_video_cases.py | 15 def LoopMixedAudio(self, action_runner): argument 16 action_runner.RunAction(PlayAction( 22 action_runner.RunAction(LoopAction( 28 def LoopSingleAudio(self, action_runner): argument 29 action_runner.RunAction(LoopAction( 35 def PlayAction(self, action_runner): argument 36 action_runner.RunAction(PlayAction( 42 def SeekBeforeAndAfterPlayhead(self, action_runner): argument 43 action_runner.RunAction(PlayAction( 49 action_runner.Wait(1) [all …]
|
D | polymer.py | 22 def RunNavigateSteps(self, action_runner): argument 23 action_runner.NavigateToPage(self) 24 action_runner.WaitForJavaScriptCondition( 35 def RunSmoothness(self, action_runner): argument 36 self.TapButton(action_runner) 37 self.SlidePanel(action_runner) 39 def TapButton(self, action_runner): argument 40 interaction = action_runner.BeginInteraction( 42 action_runner.TapElement(element_function=''' 50 action_runner.Wait(2) [all …]
|
D | tough_pinch_zoom_cases.py | 19 def RunSmoothness(self, action_runner): argument 20 action_runner.RunAction(PinchAction()) 32 def RunNavigateSteps(self, action_runner): argument 33 action_runner.NavigateToPage(self) 34 action_runner.WaitForElement(text='Next') 48 def RunNavigateSteps(self, action_runner): argument 49 action_runner.NavigateToPage(self) 50 action_runner.WaitForJavaScriptCondition( 66 def RunNavigateSteps(self, action_runner): argument 67 action_runner.NavigateToPage(self) [all …]
|
D | gmail_alt_two_labels.py | 10 def _GetCurrentLocation(action_runner): argument 11 return action_runner.EvaluateJavaScript('document.location.href') 14 def _WaitForLocationChange(action_runner, old_href): argument 15 action_runner.WaitForJavaScriptCondition( 34 def RunNavigateSteps(self, action_runner): argument 35 action_runner.NavigateToPage(self) 36 action_runner.WaitForJavaScriptCondition( 40 def RunEndure(self, action_runner): argument 41 old_href = _GetCurrentLocation(action_runner) 42 action_runner.ClickElement( [all …]
|
D | gmail_alt_threadlist_conversation.py | 22 def _GetCurrentLocation(action_runner): argument 23 return action_runner.EvaluateJavaScript('document.location.href') 26 def _WaitForLocationChange(action_runner, old_href): argument 27 action_runner.WaitForJavaScriptCondition( 46 def RunNavigateSteps(self, action_runner): argument 47 action_runner.NavigateToPage(self) 48 action_runner.WaitForJavaScriptCondition( 52 def RunEndure(self, action_runner): argument 53 old_href = _GetCurrentLocation(action_runner) 54 action_runner.ClickElement( [all …]
|
D | gmail_expand_collapse_conversation.py | 26 def RunNavigateSteps(self, action_runner): argument 27 action_runner.NavigateToPage(self) 28 action_runner.WaitForElement('img[alt="Expand all"]') 29 action_runner.ClickElement('img[alt="Expand all"]') 30 action_runner.Wait(5) 31 action_runner.WaitForElement('img[alt="Collapse all"]') 32 action_runner.ClickElement('img[alt="Collapse all"]') 33 action_runner.Wait(1) 35 def RunEndure(self, action_runner): argument 36 action_runner.WaitForElement('img[alt="Expand all"]') [all …]
|
D | webrtc_cases.py | 25 def RunWebrtc(self, action_runner): argument 26 action_runner.NavigateToPage(self) 27 action_runner.Wait(10) 28 action_runner.ExecuteJavaScript('checkForErrors();') 40 def RunEndure(self, action_runner): argument 41 action_runner.ClickElement('button[id="btn1"]') 42 action_runner.Wait(2) 43 action_runner.ClickElement('button[id="btn2"]') 44 action_runner.Wait(10) 45 action_runner.ClickElement('button[id="btn3"]') [all …]
|
D | mobile_memory.py | 32 def ReloadAndGc(self, action_runner): argument 33 action_runner.RunAction(ReloadAction()) 34 action_runner.Wait(15) 35 action_runner.ForceGarbageCollection() 37 def RunStressMemory(self, action_runner): argument 39 self.ReloadAndGc(action_runner) 51 def RunStressMemory(self, action_runner): argument 52 action_runner.RunAction(ScrollAction()) 53 action_runner.Wait(3) 54 action_runner.RunAction(ScrollAction()) [all …]
|
D | top_10.py | 15 def RunSmoothness(self, action_runner): argument 16 action_runner.RunAction(ScrollAction()) 23 def RunNavigateSteps(self, action_runner): argument 24 super(Google, self).RunNavigateSteps(action_runner) 25 action_runner.WaitForElement(text='Next') 35 def RunNavigateSteps(self, action_runner): argument 36 super(Gmail, self).RunNavigateSteps(action_runner) 37 action_runner.WaitForJavaScriptCondition( 49 def RunNavigateSteps(self, action_runner): argument 50 super(GoogleCalendar, self).RunNavigateSteps(action_runner) [all …]
|
D | tough_webgl_cases.py | 24 def RunNavigateSteps(self, action_runner): argument 25 action_runner.NavigateToPage(self) 26 action_runner.WaitForJavaScriptCondition( 28 action_runner.Wait(2) 30 def RunSmoothness(self, action_runner): argument 31 action_runner.Wait(5) 45 def RunNavigateSteps(self, action_runner): argument 46 action_runner.NavigateToPage(self) 47 action_runner.WaitForJavaScriptCondition( 49 action_runner.Wait(15) [all …]
|
D | gmail_compose_discard.py | 34 def RunNavigateSteps(self, action_runner): argument 35 action_runner.NavigateToPage(self) 36 action_runner.WaitForJavaScriptCondition( 40 def ComposeClick(self, action_runner): argument 41 action_runner.ExecuteJavaScript(''' 52 def RunEndure(self, action_runner): argument 53 action_runner.WaitForElement( 55 self.ComposeClick(action_runner) 56 action_runner.Wait(1) 57 action_runner.WaitForElement( [all …]
|
D | indexeddb_offline.py | 33 def RunNavigateSteps(self, action_runner): argument 34 action_runner.NavigateToPage(self) 35 action_runner.WaitForElement(text='initialized') 37 def RunEndure(self, action_runner): argument 38 action_runner.WaitForElement('button[id="online"]:not(disabled)') 39 action_runner.ClickElement('button[id="online"]:not(disabled)') 40 action_runner.WaitForElement( 42 action_runner.Wait(1) 43 action_runner.WaitForElement('button[id="offline"]:not(disabled)') 44 action_runner.ClickElement('button[id="offline"]:not(disabled)') [all …]
|
D | plus_alt_posts_photos.py | 24 def RunNavigateSteps(self, action_runner): argument 25 action_runner.NavigateToPage(self) 26 action_runner.WaitForElement(text='Barack Obama') 27 action_runner.WaitForElement( 30 def RunEndure(self, action_runner): argument 31 action_runner.ClickElement('span[guidedhelpid="posts_tab_profile"]') 32 action_runner.WaitForElement( 34 action_runner.Wait(5) 35 action_runner.ClickElement('span[guidedhelpid="photos_tab_profile"]') 36 action_runner.WaitForElement( [all …]
|
D | media_cns_cases.py | 16 def PlayAction(self, action_runner): argument 17 action_runner.RunAction(PlayAction( 23 def RunMediaMetrics(self, action_runner): argument 24 self.PlayAction(action_runner) 26 def SeekBeforeAndAfterPlayhead(self, action_runner): argument 27 action_runner.RunAction(PlayAction( 33 action_runner.Wait(1) 35 action_runner.RunAction(SeekAction( 42 action_runner.RunAction(SeekAction( 56 def RunMediaMetrics(self, action_runner): argument [all …]
|
D | browser_control_click.py | 23 def RunNavigateSteps(self, action_runner): argument 24 action_runner.NavigateToPage(self) 25 action_runner.WaitForElement('#attach') 27 def RunEndure(self, action_runner): argument 28 action_runner.ClickElement('#attach') 29 action_runner.Wait(0.5) 30 action_runner.ClickElement('#detach') 31 action_runner.Wait(0.5)
|
D | key_desktop_sites.py | 17 def RunSmoothness(self, action_runner): argument 18 action_runner.RunAction(ScrollAction()) 46 def RunSmoothness(self, action_runner): argument 47 action_runner.RunAction(ScrollAction()) 48 action_runner.WaitForJavaScriptCondition( 80 def RunSmoothness(self, action_runner): argument 81 action_runner.RunAction(ScrollAction()) 82 action_runner.WaitForJavaScriptCondition( 100 def RunSmoothness(self, action_runner): argument 101 action_runner.RunAction(ScrollAction()) [all …]
|
D | top_desktop_sites_2012Q3.py | 18 def ReloadAndGc(self, action_runner): argument 19 action_runner.RunAction(ReloadAction()) 20 action_runner.Wait(1) 21 action_runner.ForceGarbageCollection() 23 def RunSmoothness(self, action_runner): argument 24 action_runner.RunAction(ScrollAction()) 26 def RunStressMemory(self, action_runner): argument 28 self.ReloadAndGc(action_runner)
|
D | tough_compositor_cases.py | 18 def RunNavigateSteps(self, action_runner): argument 19 action_runner.NavigateToPage(self) 21 action_runner.Wait(5) 28 def RunSmoothness(self, action_runner): argument 33 action_runner.RunAction(scroll_down) 40 def RunSmoothness(self, action_runner): argument 42 action_runner.Wait(8)
|
D | maps.py | 19 def RunNavigateSteps(self, action_runner): argument 20 action_runner.NavigateToPage(self) 21 action_runner.Wait(3) 23 def RunSmoothness(self, action_runner): argument 24 action_runner.WaitForJavaScriptCondition('window.testDone')
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
D | action_runner_unittest.py | 11 from telemetry.page.actions import action_runner as action_runner_module 20 action_runner = action_runner_module.ActionRunner(self._tab) 22 action_runner.Wait(1) 24 interaction = action_runner.BeginInteraction( 43 action_runner = action_runner_module.ActionRunner(self._tab) 45 action_runner.ExecuteJavaScript('var testing = 42;') 50 action_runner = action_runner_module.ActionRunner(self._tab) 51 action_runner.ClickElement('#clickme') 52 action_runner.WaitForNavigate() 62 action_runner = action_runner_module.ActionRunner(self._tab) [all …]
|
/external/chromium_org/content/test/gpu/gpu_tests/ |
D | context_lost.py | 154 def RunNavigateSteps(self, action_runner): argument 155 action_runner.NavigateToPage(self) 156 action_runner.WaitForJavaScriptCondition( 171 def RunNavigateSteps(self, action_runner): argument 172 action_runner.NavigateToPage(self) 173 action_runner.WaitForJavaScriptCondition( 187 def RunNavigateSteps(self, action_runner): argument 188 action_runner.NavigateToPage(self) 189 action_runner.WaitForJavaScriptCondition( 203 def RunNavigateSteps(self, action_runner): argument [all …]
|