Python: module telemetry.internal.backends.chrome_inspector.inspector_page

telemetry.internal.backends.chrome_inspector.inspector_page | index telemetry/internal/backends/chrome_inspector/inspector_page.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.util.image_util | time |  |

Classes
`` |  | __builtin__.object InspectorPage
class InspectorPage(__builtin__.object)
`` | `Class that controls a page connected by an inspector_websocket. This class provides utility methods for controlling a page connected by an inspector_websocket. It does not perform any exception handling. All inspector_websocket exceptions must be handled by the caller.`
| Methods defined here: CaptureScreenshot(self, timeout=60) CollectGarbage(self, timeout=60) GetCookieByName(self, name, timeout=60) `Returns the value of the cookie by the given |name|.` Navigate(self, url, script_to_evaluate_on_commit=None, timeout=60) `Navigates to |url|. If |script_to_evaluate_on_commit| is given, the script source string will be evaluated when the navigation is committed. This is after the context of the page exists, but before any script on the page itself has executed.` WaitForNavigate(self, timeout=60) `Waits for the navigation to complete. The current page is expect to be in a navigation. This function returns when the navigation is complete or when the timeout has been exceeded.` __init__(self, inspector_websocket, timeout=60) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`