8from page_sets.login_helpers
import google_login
10from telemetry
import story
11from telemetry.page
import page
as page_module
12from telemetry.page
import shared_page_state
13from telemetry.util
import wpr_modes
19 super(SkiaDesktopPage, self).
__init__(
23 shared_page_state_class=shared_page_state.SharedDesktopPageState)
27 if self.wpr_mode != wpr_modes.WPR_REPLAY:
28 credentials_path=os.path.join(os.path.dirname(os.path.abspath(__file__)),
29 'data/credentials.json')
30 google_login.BaseLoginGoogle(action_runner,
'google', credentials_path)
31 action_runner.Wait(15)
32 action_runner.Navigate(self.url)
33 action_runner.Wait(15)
37 """ Pages designed to represent the median, not highly optimized web """
40 super(SkiaGoogledocsDesktopPageSet, self).
__init__(
41 archive_data_file=
'data/skia_googledocs_desktop.json')
45 (
'https://docs.google.com/document/d/'
46 '1X-IKNjtEnx-WW5JIKRLsyhz5sbsat3mfTpAPUSX3_s4/view'),
def __init__(self, url, page_set)
def RunNavigateSteps(self, action_runner)