Python: module telemetry.internal.backends.chrome.desktop_browser_backend

telemetry.internal.backends.chrome.desktop_browser_backend | index telemetry/internal/backends/chrome/desktop_browser_backend.py

`# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |
telemetry.internal.util.binary_manager telemetry.internal.backends.browser_backend telemetry.internal.backends.chrome.chrome_browser_backend catapult_base.cloud_storage datetime | telemetry.core.exceptions glob heapq logging os | telemetry.internal.util.path random re shutil subprocess | sys tempfile time telemetry.core.util

Classes
`` |  | telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend(telemetry.internal.backends.browser_backend.BrowserBackend) DesktopBrowserBackend
class DesktopBrowserBackend(telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend)
`` | `The backend for controlling a locally-executed browser instance, on Linux, Mac or Windows.`
| Method resolution order: DesktopBrowserBackend telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend telemetry.internal.backends.browser_backend.BrowserBackend telemetry.internal.backends.app_backend.AppBackend __builtin__.object Methods defined here: Close(self) GetBrowserStartupArgs(self) GetStackTrace(self) GetStandardOutput(self) HasBrowserFinishedLaunching(self) IsBrowserRunning(self) Start(self) __del__(self) __init__(self, desktop_platform_backend, browser_options, executable, flash_path, is_content_shell, browser_directory, output_profile_path, extensions_to_load) Data descriptors defined here: browser_directory log_file_path pid profile_directory supports_uploading_logs Methods inherited from telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend: DumpMemory(self, timeout=90) GetProcessName(self, cmd_line) `Returns a user-friendly name for the process of the given |cmd_line|.` GetReplayBrowserStartupArgs(self) GetSystemInfo(self) SetMemoryPressureNotificationsSuppressed(self, suppressed, timeout=90) SimulateMemoryPressureNotification(self, pressure_level, timeout=90) StartTracing(self, trace_options, custom_categories=None, timeout=90) `Args: trace_options: An tracing_options.TracingOptions instance. custom_categories: An optional string containing a list of comma separated categories that will be traced instead of the default category set. Example: use "webkit,cc,disabled-by-default-cc.debug" to trace only those three event categories.` StopTracing(self, trace_data_builder) Data descriptors inherited from telemetry.internal.backends.chrome.chrome_browser_backend.ChromeBrowserBackend: devtools_client extension_backend supports_cpu_metrics supports_memory_dumping supports_memory_metrics supports_overriding_memory_pressure_notifications supports_power_metrics supports_system_info supports_tab_control supports_tracing Methods inherited from telemetry.internal.backends.browser_backend.BrowserBackend: IsAppRunning(self) SetBrowser(self, browser) UploadLogsToCloudStorage(self) `Uploading log files produce by this browser instance to cloud storage. Check supports_uploading_logs before calling this method.` Data descriptors inherited from telemetry.internal.backends.browser_backend.BrowserBackend: browser browser_type profiling_controller_backend should_ignore_certificate_errors supports_extensions `True if this browser backend supports extensions.` tab_list_backend wpr_mode Methods inherited from telemetry.internal.backends.app_backend.AppBackend: SetApp(self, app) Data descriptors inherited from telemetry.internal.backends.app_backend.AppBackend: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` app app_type platform_backend

Functions
`` |  | ParseCrashpadDateTime(date_time_str)