Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / tools / perf / page_sets / typical_mobile_sites.py
blobc8a91f0d8e5091b09e83091c15170170e0610a04
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module
9 class TypicalMobileSitesPage(page_module.Page):
11 def __init__(self, url, page_set):
12 super(TypicalMobileSitesPage, self).__init__(
13 url=url, page_set=page_set, credentials_path = 'data/credentials.json')
14 self.user_agent_type = 'mobile'
15 self.archive_data_file = 'data/typical_mobile_sites.json'
17 def RunPageInteractions(self, action_runner):
18 action_runner.Wait(5)
19 action_runner.ScrollPage()
22 class TypicalMobileSitesPageSet(page_set_module.PageSet):
24 def __init__(self):
25 super(TypicalMobileSitesPageSet, self).__init__(
26 user_agent_type='mobile',
27 archive_data_file='data/typical_mobile_sites.json',
28 bucket=page_set_module.PARTNER_BUCKET)
30 urls_list = [
31 'http://google.com',
32 'http://yahoo.com',
33 'http://baidu.com',
34 'http://cnn.com',
35 'http://yandex.ru',
36 'http://yahoo.co.jp',
37 'http://amazon.com',
38 'http://ebay.com',
39 'http://bing.com',
40 'http://nytimes.com',
41 'http://latimes.com',
42 'http://chicagotribune.com',
43 'http://wikipedia.com',
44 'http://sfbay.craigslist.org',
45 'http://bbc.co.uk',
46 'http://apple.com',
47 'http://amazon.co.jp',
48 'http://sina.com.cn',
49 'http://weibo.com',
52 for url in urls_list:
53 self.AddPage(TypicalMobileSitesPage(url, self))