class SimplePage(page_module.Page):
def __init__(self, url, page_set):
- super(SimplePage, self).__init__(url=url, page_set=page_set)
- self.credentials_path = 'data/credentials.json'
+ super(SimplePage, self).__init__(
+ url=url,
+ page_set=page_set,
+ credentials_path='data/credentials.json')
self.archive_data_file = 'data/simple_mobile_sites.json'
def RunNavigateSteps(self, action_runner):
def __init__(self):
super(SimpleMobileSitesPageSet, self).__init__(
- credentials_path='data/credentials.json',
user_agent_type='tablet_10_inch',
archive_data_file='data/simple_mobile_sites.json',
bucket=page_set_module.PUBLIC_BUCKET)
'https://www.flickr.com/',
'http://www.apple.com/mac/',
'http://www.nyc.gov',
- 'http://m.nytimes.com/',
- 'https://www.yahoo.com/',
- 'http://m.us.wsj.com/',
+ 'http://m.nytimes.com/'
]
for url in scroll_page_list: