telemetry.core.chrome.inspector_runtime
index
telemetry/core/chrome/inspector_runtime.py

# Copyright (c) 2012 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.core.exceptions

 
Classes
       
__builtin__.object
InspectorRuntime

 
class InspectorRuntime(__builtin__.object)
     Methods defined here:
Evaluate(self, expr, timeout=60)
Evalutes expr in javascript and returns the JSONized result.
 
Consider using Execute for cases where the result of the expression is not
needed.
 
If evaluation throws in javascript, a python EvaluateException will
be raised.
 
If the result of the evaluation cannot be JSONized, then an
EvaluationException will be raised.
Execute(self, expr, timeout=60)
Executes expr in javascript. Does not return the result.
 
If the expression failed to evaluate, EvaluateException will be raised.
__init__(self, inspector_backend)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)