• Home
  • Raw
  • Download

Lines Matching full:chrome

13 from autotest_lib.client.common_lib.cros import chrome
24 (chrome.Error, IndexError, Exception),
38 # Telemetry sometimes fails to start Chrome.
44 label='Start Chrome')
48 """This class provides access to telemetry chrome wrapper."""
58 @param chrome_object: A chrome.Chrome object or None.
66 """Gets the browser object from Chrome."""
72 """Start a Chrome with given arguments.
74 @param kwargs: A dict of keyword arguments passed to Chrome.
76 @return: A chrome.Chrome object.
79 logging.debug('Try to start Chrome with kwargs: %s', kwargs)
80 return chrome.Chrome(**kwargs)
84 """Start a custom Chrome with given arguments.
86 @param kwargs: A dict of keyword arguments passed to Chrome.
91 # Close the previous Chrome.
95 # Start the new Chrome.
99 logging.error('Failed to start Chrome after retries')
102 logging.info('Chrome started successfully')
112 # On daisy, Chrome freezes about 30 seconds after login because of
113 # TPM error. Avoid test accessing Chrome during this time.
124 """Start the default Chrome.
126 @param restart: True to start Chrome without clearing previous state.
128 to Chrome. This list will be appened to
179 It is used to make sure our chrome browser is clean.
207 @raise chrome.Error if the found extension has not yet been
219 raise chrome.Error(errmsg)
411 chrome.autotestPrivate.isAppShown('%s',
426 webapps_js = "chrome.autotestPrivate.waitForSystemWebAppsInstall(" \
429 launch_js = "chrome.autotestPrivate.launchSystemWebApp('%s', '%s', " \
431 "chrome://camera-app/views/main.html")
433 launch_js = "chrome.autotestPrivate.launchApp('%s', function(){})" \
450 close_js = "chrome.autotestPrivate.closeApp('%s', function(){})" \