telemetry.internal.backends.browser_backend | index telemetry/internal/backends/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.backends.app_backend catapult_base.cloud_storage | telemetry.decorators telemetry.core.platform | telemetry.internal.platform.profiling_controller_backend sys | uuid telemetry.internal.browser.web_contents

Classes
`` |  |

exceptions.Exception(exceptions.BaseException)
  ExtensionsNotSupportedException
telemetry.internal.backends.app_backend.AppBackend(__builtin__.object)
  BrowserBackend

class BrowserBackend(telemetry.internal.backends.app_backend.AppBackend)
`` | `A base class for browser backends.`

Method resolution order:
  BrowserBackend
  telemetry.internal.backends.app_backend.AppBackend
  __builtin__.object

Methods defined here:

DumpMemory(self, timeout=90)

GetStackTrace(self)

GetStandardOutput(self)

GetSystemInfo(self)

IsAppRunning(self)

IsBrowserRunning(self)

SetBrowser(self, browser)

SetMemoryPressureNotificationsSuppressed(self, suppressed, timeout=90)

SimulateMemoryPressureNotification(self, pressure_level, timeout=90)

Start(self)

StartTracing(self, trace_options, custom_categories=None, timeout=90)

StopTracing(self, trace_data_builder)

UploadLogsToCloudStorage(self)
  `Uploading log files produce by this browser instance to cloud storage.
  Check supports_uploading_logs before calling this method.`

__init__(self, platform_backend, supports_extensions, browser_options, tab_list_backend)

Data descriptors defined here:

browser

browser_type

log_file_path

profiling_controller_backend

should_ignore_certificate_errors

supports_cpu_metrics

supports_extensions
  `True if this browser backend supports extensions.`

supports_memory_dumping

supports_memory_metrics

supports_overriding_memory_pressure_notifications

supports_power_metrics

supports_system_info

supports_tab_control

supports_tracing

supports_uploading_logs

tab_list_backend

wpr_mode

Methods inherited from telemetry.internal.backends.app_backend.AppBackend:

Close(self)

SetApp(self, app)

__del__(self)

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

pid

platform_backend

class ExtensionsNotSupportedException(exceptions.Exception)
`` |  |

Method resolution order:
  ExtensionsNotSupportedException
  exceptions.Exception
  exceptions.BaseException
  __builtin__.object

Data descriptors defined here:

__weakref__
  `list of weak references to the object (if defined)`

Methods inherited from exceptions.Exception:

__init__(...)
  `x.__init__(...) initializes x; see help(type(x)) for signature`

Data and other attributes inherited from exceptions.Exception:

__new__ = <built-in method __new__ of type object>
  `T.__new__(S, ...) -> a new object with type S, a subtype of T`

Methods inherited from exceptions.BaseException:

__delattr__(...)
  `x.__delattr__('name') <==> del x.name`

__getattribute__(...)
  `x.__getattribute__('name') <==> x.name`

__getitem__(...)
  `x.__getitem__(y) <==> x[y]`

__getslice__(...)
  `x.__getslice__(i, j) <==> x[i:j]
  Use of negative indices is not supported.`

__reduce__(...)

__repr__(...)
  `x.__repr__() <==> repr(x)`

__setattr__(...)
  `x.__setattr__('name', value) <==> x.name = value`

__setstate__(...)

__str__(...)
  `x.__str__() <==> str(x)`

__unicode__(...)

Data descriptors inherited from exceptions.BaseException:

__dict__

args

message