Home
last modified time | relevance | path

Searched refs:browser (Results 1 – 25 of 545) sorted by relevance

12345678910>>...22

/external/autotest/client/common_lib/cros/
Denrollment.py11 def _ExecuteOobeCmd(browser, cmd): argument
13 oobe = browser.oobe
19 def SwitchToRemora(browser): argument
25 lambda: _ExecuteOobeCmd(browser,
27 browser)
28 utils.poll_for_condition(lambda: browser.oobe_exists, timeout=30)
31 def RemoraEnrollment(browser, user_id, password): argument
38 SwitchToRemora(browser)
39 browser.oobe.NavigateGaiaLogin(
44 def EnterpriseEnrollment(browser, user_id, password, auto_login=False): argument
[all …]
Dkiosk_utils.py17 def get_webview_contexts(browser, ext_id): argument
24 ext_contexts = wait_for_kiosk_ext(browser, ext_id)
47 def get_webview_context(browser, ext_id): argument
54 ext_contexts = wait_for_kiosk_ext(browser, ext_id)
79 def wait_for_kiosk_ext(browser, ext_id): argument
88 ext_contexts = browser.extensions.GetByExtensionId(ext_id)
101 def config_riseplayer(browser, ext_id, app_config_id): argument
125 browser, ext_id)
Dchrome.py13 from telemetry.internal.browser import browser_finder, browser_options
14 from telemetry.internal.browser import extension_to_load
233 browser = self.browser,
257 def browser(self): member in Chrome
266 return self.browser.extensions[ext]
336 def wait_for_browser_restart(func, browser): argument
346 browser.WaitForBrowserToComeUp()
356 lambda: tabs.append(cr.browser.tabs.New())):
/external/python/cpython3/Lib/
Dwebbrowser.py47 for browser in alternatives:
48 if '%s' in browser:
50 browser = shlex.split(browser)
51 if browser[-1] == '&':
52 return BackgroundBrowser(browser[:-1])
54 return GenericBrowser(browser)
58 command = _browsers[browser.lower()]
60 command = _synthesize(browser)
77 browser = get(name)
78 if browser.open(url, new, autoraise):
[all …]
/external/python/cpython3/Doc/library/
Dwebbrowser.rst1 :mod:`webbrowser` --- Convenient Web-browser controller
21 the user exits the browser.
26 interpreted as a literal browser command line to be used with the argument URL
28 interpreted as the name of the browser to launch. [1]_
30 For non-Unix platforms, or when a remote browser is available on Unix, the
31 controlling process will not wait for the user to finish with the browser, but
32 allow the remote browser to maintain its own windows on the display. If remote
34 browser and wait.
38 parameters: ``-n`` opens the URL in a new browser window, if possible;
39 ``-t`` opens the URL in a new browser page ("tab"). The options are,
[all …]
/external/python/cpython2/Lib/
Dwebbrowser.py34 for browser in alternatives:
35 if '%s' in browser:
37 browser = shlex.split(browser)
38 if browser[-1] == '&':
39 return BackgroundBrowser(browser[:-1])
41 return GenericBrowser(browser)
45 command = _browsers[browser.lower()]
47 command = _synthesize(browser)
60 browser = get(name)
61 if browser.open(url, new, autoraise):
[all …]
/external/python/cpython2/Doc/library/
Dwebbrowser.rst1 :mod:`webbrowser` --- Convenient Web-browser controller
20 the user exits the browser.
25 string ``%s``, then it is interpreted as a literal browser command line to be
27 ``%s``, it is simply interpreted as the name of the browser to launch. [1]_
29 For non-Unix platforms, or when a remote browser is available on Unix, the
30 controlling process will not wait for the user to finish with the browser, but
31 allow the remote browser to maintain its own windows on the display. If remote
33 browser and wait.
37 parameters: ``-n`` opens the URL in a new browser window, if possible;
38 ``-t`` opens the URL in a new browser page ("tab"). The options are,
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_browser.py3 from idlelib import browser
24 cls.mb = browser.ModuleBrowser(cls.root, __file__, _utest=True)
39 self.assertIsNotNone(browser.file_open)
49 self.assertIsInstance(rn, browser.ModuleBrowserTreeItem)
76 browser.transform_children(mock_pyclbr_tree, 'test') # C0(base)
77 browser.transform_children(C0.children) # C1()
87 transform = browser.transform_children
102 transform = browser.transform_children
118 cls.mbt = browser.ModuleBrowserTreeItem(fname)
133 save_rex = browser.pyclbr.readmodule_ex
[all …]
/external/autotest/client/site_tests/video_MultiplePlayback/
Dvideo_MultiplePlayback.py48 def run_video_tests(self, browser): argument
54 browser.platform.SetHTTPServerDirectories(self.bindir)
55 tab1 = browser.tabs.New()
57 tab1.Navigate(browser.platform.http_server.UrlOf(
64 tab2 = browser.tabs.New()
65 tab2.Navigate(browser.platform.http_server.UrlOf(
91 self.run_video_tests(cr.browser)
/external/autotest/client/site_tests/platform_MemoryPressure/
Dplatform_MemoryPressure.py199 tab = cr.browser.tabs.New()
220 if created_tab_count > len(cr.browser.tabs):
226 tab_count = len(cr.browser.tabs)
276 browser_tab_count = len(cr.browser.tabs)
308 cr.browser.platform.SetHTTPServerDirectories(bindir)
310 tab = cr.browser.tabs.New()
314 tab.Navigate(cr.browser.platform.http_server.UrlOf(
323 if n_tabs > len(cr.browser.tabs):
349 cr.browser.platform.SetHTTPServerDirectories(bindir)
351 tab = cr.browser.tabs.New()
[all …]
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dgraphics_WebGLAquarium.py95 def setup_webpage(self, browser, test_url, num_fishes): argument
104 tab = browser.tabs.New()
135 def run_fish_test(self, browser, test_url, num_fishes, perf_log=True): argument
144 tab = self.setup_webpage(browser, test_url, num_fishes)
204 def run_power_test(self, browser, test_url, ac_ok): argument
240 self.run_fish_test(browser, test_url, 1000, perf_log=False)
322 self, browser, test_url, num_fishes, memory_pressure): argument
363 self.setup_webpage(browser, test_url, num_fishes)
465 cr.browser.platform.SetHTTPServerDirectories(self.srcdir)
466 test_url = cr.browser.platform.http_server.UrlOf(
[all …]
/external/autotest/client/site_tests/power_VideoSuspend/
Dpower_VideoSuspend.py23 cr.browser.platform.SetHTTPServerDirectories(self.bindir)
24 tab = cr.browser.tabs[0]
25 tab.Navigate(cr.browser.platform.http_server.UrlOf(
30 self._suspend_with_video(cr.browser, tab, url)
43 def _suspend_with_video(self, browser, tab, video_url): argument
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/
Dvideo_VideoDecodeMemoryUsage.py148 tab = self.browser.tabs.New()
150 tab.Navigate(self.browser.platform.http_server.UrlOf(
183 self.browser.platform.tracing_controller.StartTracing(config)
186 for t in self.browser.tabs:
189 self.browser.DumpMemory()
191 trace_data = self.browser.platform.tracing_controller.StopTracing()
225 def run(self, name, browser, videos, test, argument
240 self.browser = browser
393 cr.browser.platform.SetHTTPServerDirectories(self.bindir)
400 name, cr.browser, videos, self)
/external/autotest/client/site_tests/graphics_WebGLClear/
Dgraphics_WebGLClear.py45 def run_clear_test(self, browser, test_url): argument
51 tab = browser.tabs.New()
84 if not cr.browser.platform.SetHTTPServerDirectories(clearsrc):
86 test_url = cr.browser.platform.http_server.UrlOf(
88 self.run_clear_test(cr.browser, test_url)
/external/autotest/client/site_tests/audio_ActiveStreamStress/
Daudio_ActiveStreamStress.py42 self._cr.browser.platform.SetHTTPServerDirectories(self.bindir)
43 self.push_new_stream(self._cr.browser.tabs[0])
68 self.push_new_stream(self._cr.browser.tabs.New())
90 tab.Navigate(self._cr.browser.platform.http_server.UrlOf(
104 if len(self._cr.browser.tabs) > 0:
105 self._cr.browser.tabs[0].Close()
/external/skqp/tools/lottiecap/
Dlottiecap.js135 let browser = null;
137 browser = await puppeteer.launch({
142 browser = await puppeteer.launch();
145 const page = await browser.newPage();
163 await browser.close();
208 await browser.close();
/external/skia/tools/lottiecap/
Dlottiecap.js135 let browser = null;
137 browser = await puppeteer.launch({
142 browser = await puppeteer.launch();
145 const page = await browser.newPage();
163 await browser.close();
208 await browser.close();
/external/autotest/client/site_tests/video_VimeoVideo/
Dvideo_VimeoVideo.py65 def run_vimeo_tests(self, browser): argument
71 self._tab = browser.tabs[0]
72 self._tab.Navigate(browser.platform.http_server.UrlOf(
116 cr.browser.platform.SetHTTPServerDirectories(self.bindir)
117 self.run_vimeo_tests(cr.browser)
/external/autotest/client/site_tests/performance_InboxInputLatency/
Dperformance_InboxInputLatency.py44 self.browser = chrome.Chrome(gaia_login=True,
47 self.tab = self.browser.browser.tabs[0]
59 self.browser.close()
101 tracing_controller = self.tab.browser.platform.tracing_controller
133 tracing_controller = self.tab.browser.platform.tracing_controller
/external/libchrome/base/sampling_heap_profiler/
Dbenchmark-octane.js18 browser = await puppeteer.launch({
20 const page = await browser.newPage();
33 if (browser)
34 await browser.close();
/external/autotest/client/site_tests/power_FlashVideoSuspend/
Dpower_FlashVideoSuspend.py22 cr.browser.platform.SetHTTPServerDirectories(self.bindir)
23 tab = cr.browser.tabs[0]
24 tab.Navigate(cr.browser.platform.http_server.UrlOf(
26 self.suspend_with_youtube(cr.browser.tabs[0], video_url)
/external/autotest/client/site_tests/graphics_WebGLPerformance/
Dgraphics_WebGLPerformance.py42 def run_performance_test(self, browser, test_url): argument
53 tab = browser.tabs.New()
142 if not cr.browser.platform.SetHTTPServerDirectories(websrc_dir):
144 test_url = cr.browser.platform.http_server.UrlOf(
147 passed, waived, failed = self.run_performance_test(cr.browser,
/external/autotest/client/site_tests/graphics_Stress/
Dgraphics_Stress.py44 tab = cr.browser.tabs[-1]
55 cr.browser.tabs[0].WaitForDocumentReadyStateToBeComplete()
60 tab = cr.browser.tabs[0]
66 tab = cr.browser.tabs.New()
113 cr.browser.tabs[tabidx].Activate()
114 tabidx = (tabidx + 1) % len(cr.browser.tabs)
/external/autotest/client/site_tests/login_OobeLocalization/
Dlogin_OobeLocalization.py201 return self._chrome.browser.oobe.EvaluateJavaScript(js_expression)
220 return self._chrome.browser.oobe.EvaluateJavaScript(js_expression)
246 return self._chrome.browser.oobe.EvaluateJavaScript("""
278 return (self._chrome.browser.oobe and
279 self._chrome.browser.oobe.EvaluateJavaScript(
326 return self._chrome.browser.oobe.EvaluateJavaScript(js_expression)
/external/autotest/client/site_tests/graphics_WebGLManyPlanetsDeep/
Dgraphics_WebGLManyPlanetsDeep.py35 def run_many_planets_deep_test(self, browser, test_url): argument
45 tab = browser.tabs.New()
137 if not cr.browser.platform.SetHTTPServerDirectories(websrc_dir):
139 test_url = cr.browser.platform.http_server.UrlOf(
141 self.run_many_planets_deep_test(cr.browser, test_url)

12345678910>>...22