| |
- telemetry.core.exceptions.Error(exceptions.Exception)
-
- TabUnexpectedResponseException
- telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList(_abcoll.Sequence)
-
- TabListBackend
class TabListBackend(telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList) |
|
A dynamic sequence of tab.Tabs in UI order. |
|
- Method resolution order:
- TabListBackend
- telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList
- _abcoll.Sequence
- _abcoll.Sized
- _abcoll.Iterable
- _abcoll.Container
- __builtin__.object
Methods defined here:
- ActivateTab(self, tab_id, timeout=30)
- Activates the tab with the given debugger_url.
Raises:
devtools_http.DevToolsClientConnectionError
devtools_client_backend.TabNotFoundError
TabUnexpectedResponseException
- CloseTab(self, tab_id, timeout=300)
- Closes the tab with the given debugger_url.
Raises:
devtools_http.DevToolsClientConnectionError
devtools_client_backend.TabNotFoundError
TabUnexpectedResponseException
exceptions.TimeoutException
- CreateWrapper(self, inspector_backend)
- Get(self, index, ret)
- Returns self[index] if it exists, or ret if index is out of bounds.
- New(self, timeout)
- Makes a new tab.
Returns:
A Tab object.
Raises:
devtools_http.DevToolsClientConnectionError
- ShouldIncludeContext(self, context)
- __init__(self, browser_backend)
Data and other attributes defined here:
- __abstractmethods__ = frozenset([])
Methods inherited from telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList:
- GetBackendFromContextId(self, context_id)
- GetContextInfo(self, context_id)
- GetTabById(self, identifier)
- IterContextIds(self)
- __getitem__(self, index)
- # TODO(nednguyen): Remove this method and turn inspector_backend_list API to
# dictionary-like API (crbug.com/398467)
- __iter__(self)
- __len__(self)
Data descriptors inherited from telemetry.internal.backends.chrome_inspector.inspector_backend_list.InspectorBackendList:
- app
Methods inherited from _abcoll.Sequence:
- __contains__(self, value)
- __reversed__(self)
- count(self, value)
- S.count(value) -> integer -- return number of occurrences of value
- index(self, value)
- S.index(value) -> integer -- return first index of value.
Raises ValueError if the value is not present.
Class methods inherited from _abcoll.Sized:
- __subclasshook__(cls, C) from abc.ABCMeta
Data descriptors inherited from _abcoll.Sized:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from _abcoll.Sized:
- __metaclass__ = <class 'abc.ABCMeta'>
- Metaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed
directly, and then acts as a mix-in class. You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as 'virtual subclasses' -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function, but the registering ABC won't show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).
|
|