Home
last modified time | relevance | path

Searched refs:ExecuteJavaScript (Results 1 – 25 of 75) sorted by relevance

123

/external/autotest/client/site_tests/video_YouTubeMseEme/
Dvideo_YouTubeMseEme.py61 self.tab.ExecuteJavaScript(js)
106 self.tab.ExecuteJavaScript('window.__testAttach();')
114 self.tab.ExecuteJavaScript('window.__testAddSourceBuffer();')
124 self.tab.ExecuteJavaScript('window.__testAddSupportedFormats();')
134 self.tab.ExecuteJavaScript(
145 self.tab.ExecuteJavaScript('window.__testInitialVideoState();')
155 self.tab.ExecuteJavaScript('window.__testInitialMSState();')
165 self.tab.ExecuteJavaScript('window.__testAppend_audio();')
170 self.tab.ExecuteJavaScript('window.__testAppend_video();')
180 self.tab.ExecuteJavaScript('window.__testAppendAbort_audio();')
[all …]
/external/autotest/client/common_lib/cros/
Dcfm_util.py94 webview_context.ExecuteJavaScript("window.hrOobSkipForTest()")
131 webview_context.ExecuteJavaScript("window.hrStartCallForTest('" +
146 webview_context.ExecuteJavaScript("window.hrHangupCallForTest()")
215 webview_context.ExecuteJavaScript("window.hrRunDiagnosticsForTest()")
247 webview_context.ExecuteJavaScript("window.hrSetAudioInMutedForTest(true)")
256 webview_context.ExecuteJavaScript("window.hrSetAudioInMutedForTest(false)")
265 webview_context.ExecuteJavaScript("window.hrMuteAudioForTest()")
274 webview_context.ExecuteJavaScript("window.hrUnmuteAudioForTest()")
302 webview_context.ExecuteJavaScript(
332 webview_context.ExecuteJavaScript(
[all …]
Dinteractive_xmlrpc_server.py61 self._tab.ExecuteJavaScript('document.body.innerHTML = %s; ' %
81 self._tab.ExecuteJavaScript(
130 self._tab.ExecuteJavaScript(
150 self._tab.ExecuteJavaScript(
182 self._tab.ExecuteJavaScript(
204 self._tab.ExecuteJavaScript(
Darc_util.py164 settings_tab.ExecuteJavaScript(
183 settings_tab.ExecuteJavaScript(
247 extension_main_page.ExecuteJavaScript(js_code_click_agree)
/external/autotest/client/cros/multimedia/
Daudio_extension_handler.py107 self._extension.ExecuteJavaScript('window.__audio_devices = null;')
108 self._extension.ExecuteJavaScript(
156 self._extension.ExecuteJavaScript('window.__set_volume_done = null;')
157 self._extension.ExecuteJavaScript(
180 self._extension.ExecuteJavaScript('window.__set_mute_done = null;')
182 self._extension.ExecuteJavaScript(
203 self._extension.ExecuteJavaScript('window.__output_muted = null;')
204 self._extension.ExecuteJavaScript(
264 self._extension.ExecuteJavaScript('window.__set_active_done = null;')
268 self._extension.ExecuteJavaScript(
Ddisplay_facade_native.py62 extension.ExecuteJavaScript('window.__display_info = null;')
63 extension.ExecuteJavaScript(
79 extension.ExecuteJavaScript('window.__window_info = null;')
80 extension.ExecuteJavaScript(
194 tab.ExecuteJavaScript(
259 tab.ExecuteJavaScript(
576 extension.ExecuteJavaScript(
619 extension.ExecuteJavaScript(
675 tab.ExecuteJavaScript(color_sequence_for_java_script + """
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
Daction_runner_unittest.py119 action_runner.ExecuteJavaScript('var testing = 42;')
173 action_runner.ExecuteJavaScript(
178 action_runner.ExecuteJavaScript(
188 action_runner.ExecuteJavaScript('window.testing = 219;')
191 action_runner.ExecuteJavaScript(
202 action_runner.ExecuteJavaScript('window.testing = 0;')
205 action_runner.ExecuteJavaScript(
216 action_runner.ExecuteJavaScript(
227 action_runner.ExecuteJavaScript(
234 action_runner.ExecuteJavaScript(
[all …]
Dtap_unittest.py22 self._tab.ExecuteJavaScript('valueSettableByTest = 1;')
26 self._tab.ExecuteJavaScript('valueSettableByTest = 2;')
30 self._tab.ExecuteJavaScript('valueSettableByTest = 3;')
Dscroll_unittest.py13 self._tab.ExecuteJavaScript('document.body.style.height ='
18 self._tab.ExecuteJavaScript('document.body.style.width ='
35 self._tab.ExecuteJavaScript("""
102 self._tab.ExecuteJavaScript("""
Dscroll_to_element_unittest.py15 self._tab.ExecuteJavaScript('document.body.style.height ='
28 self._tab.ExecuteJavaScript("""
37 self._tab.ExecuteJavaScript("""
Dmouse_click_unittest.py15 self._tab.ExecuteJavaScript("""
35 self._tab.ExecuteJavaScript("""
Dkey_event_unittest.py38 self._tab.ExecuteJavaScript('document.body.style.height ='
64 self._tab.ExecuteJavaScript(
Daction_runner.py181 self.ExecuteJavaScript('window.history.back()')
195 self._tab.ExecuteJavaScript('window.location.reload()')
198 def ExecuteJavaScript(self, *args, **kwargs): member in ActionRunner
214 return self._tab.ExecuteJavaScript(*args, **kwargs)
850 self._action_runner.ExecuteJavaScript(
858 self._action_runner.ExecuteJavaScript(
/external/autotest/client/cros/video/
Dnative_html5_player.py22 self.tab.ExecuteJavaScript(
52 self.tab.ExecuteJavaScript('play()')
60 self.tab.ExecuteJavaScript('pause()')
97 self.tab.ExecuteJavaScript(cmd)
122 self.tab.ExecuteJavaScript('location.reload()')
130 self.tab.ExecuteJavaScript('setControls()')
Dyoutube_helper.py68 self._tab.ExecuteJavaScript(
108 self._tab.ExecuteJavaScript(
182 self._tab.ExecuteJavaScript('player.pauseVideo()')
184 self._tab.ExecuteJavaScript('player.playVideo()')
192 self._tab.ExecuteJavaScript(
199 self._tab.ExecuteJavaScript('player.seekTo(%d, true)'
/external/autotest/client/site_tests/network_FirewallHolePunch/
Dnetwork_FirewallHolePunch.py58 self.extension.ExecuteJavaScript('tcpUI.create();')
62 self.extension.ExecuteJavaScript(script)
64 self.extension.ExecuteJavaScript('tcpUI.stopServer();')
67 self.extension.ExecuteJavaScript(script)
68 self.extension.ExecuteJavaScript('close();')
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dcache_temperature.py35 self.browser.tabs[0].ExecuteJavaScript(
37 self.browser.tabs[0].ExecuteJavaScript(
46 self.browser.tabs[0].ExecuteJavaScript(
48 self.browser.tabs[0].ExecuteJavaScript(
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dform_based_credentials_backend.py67 tab.ExecuteJavaScript(
71 tab.ExecuteJavaScript(
76 tab.ExecuteJavaScript(self.login_button_javascript)
78 tab.ExecuteJavaScript(
/external/autotest/client/site_tests/video_YouTubePage/
Dvideo_YouTubePage.py78 self.tab.ExecuteJavaScript('window.__playVideo();')
85 self.tab.ExecuteJavaScript('window.__pauseVideo();')
94 self.tab.ExecuteJavaScript('window.__seek(%f);' % new_time)
104 self.tab.ExecuteJavaScript(
142 self.tab.ExecuteJavaScript('window.__clearEventHappened("%s");' % event)
/external/autotest/client/cros/
Dtouch_playback_test_base.py437 self._tab.ExecuteJavaScript(cmd % 'width')
438 self._tab.ExecuteJavaScript(cmd % 'height')
450 self._tab.ExecuteJavaScript(
453 self._tab.ExecuteJavaScript(
564 self._tab.ExecuteJavaScript('pageReady = false')
565 self._tab.ExecuteJavaScript('clearPreviousEvents()')
643 self._tab.ExecuteJavaScript('preventDefaults = %s;' % js_value)
Dsemiauto_framework.py48 self._tab.ExecuteJavaScript('window.__ready = 0; '
101 self._tab.ExecuteJavaScript('window.__ready = 0; '
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dtab.py137 self.ExecuteJavaScript("""
170 self.ExecuteJavaScript("""
260 self.ExecuteJavaScript("""
Dweb_contents.py123 def ExecuteJavaScript(self, *args, **kwargs): member in WebContents
144 return self._inspector_backend.ExecuteJavaScript(*args, **kwargs)
249 self.ExecuteJavaScript('window.chrome && chrome.benchmarking &&'
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dcros_unittest.py104 extension.ExecuteJavaScript('chrome.autotestPrivate.logout();')
159 extension.ExecuteJavaScript('chrome.autotestPrivate.lockScreen();')
177 browser.oobe.ExecuteJavaScript(
185 browser.oobe.ExecuteJavaScript(
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
Dinspector_page_unittest.py20 self._tab.ExecuteJavaScript('document.getElementById("clickme").click();')
29 self._tab.ExecuteJavaScript('document.cookie="foo=bar"')

123