Python: package telemetry.page

telemetry.page | index telemetry/page/__init__.py

`# Copyright 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.`

Package Contents
`` |  |
action_runner page | page_run_end_to_end_unittest page_test | page_test_unittest page_unittest | shared_page_state shared_page_state_unittest

Classes
`` |  | telemetry.story.story.Story(__builtin__.object) Page
class Page(telemetry.story.story.Story)
`` |  | Method resolution order: Page telemetry.story.story.Story __builtin__.object Methods defined here: AddCustomizeBrowserOptions(self, options) `Inherit page overrides this to add customized browser options.` AsDict(self) `Converts a page object to a dict suitable for JSON output.` GetSyntheticDelayCategories(self) Run(self, shared_state) RunNavigateSteps(self, action_runner) RunPageInteractions(self, action_runner) `Override this to define custom interactions with the page. e.g: def RunPageInteractions(self, action_runner): action_runner.ScrollPage() action_runner.TapElement(text='Next')` __cmp__(self, other) __init__(self, url, page_set=None, base_dir=None, name='', credentials_path=None, credentials_bucket='chromium-telemetry', labels=None, startup_url='', make_javascript_deterministic=True, shared_page_state_class=<class 'telemetry.page.shared_page_state.SharedPageState'>) __lt__(self, other) __str__(self) Data descriptors defined here: base_dir credentials_path display_name file_path `Returns the path of the file, stripping the scheme and query string.` file_path_url `Returns the file path, including the params, query, and fragment.` file_path_url_with_scheme is_file `Returns True iff this URL points to a file.` page_set serving_dir startup_url story_set url Data descriptors inherited from telemetry.story.story.Story: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` file_safe_name `A version of display_name that's safe to use as a filename. The default implementation sanitizes special characters with underscores, but it's okay to override it with a more specific implementation in subclasses.` id is_local `Returns True iff this story does not require network.` labels make_javascript_deterministic name shared_state_class