OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
5 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
6 | 6 |
7 | 7 |
8 class SimplePage(page_module.Page): | 8 class SimplePage(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set): | 10 def __init__(self, url, page_set): |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 scroll_page_list = [ | 44 scroll_page_list = [ |
45 # Why: Scrolls moderately complex pages (up to 60 layers) | 45 # Why: Scrolls moderately complex pages (up to 60 layers) |
46 'http://www.ebay.co.uk/', | 46 'http://www.ebay.co.uk/', |
47 'https://www.flickr.com/', | 47 'https://www.flickr.com/', |
48 'http://www.apple.com/mac/', | 48 'http://www.apple.com/mac/', |
49 'http://www.nyc.gov', | 49 'http://www.nyc.gov', |
50 'http://m.nytimes.com/' | 50 'http://m.nytimes.com/' |
51 ] | 51 ] |
52 | 52 |
53 for url in scroll_page_list: | 53 for url in scroll_page_list: |
54 self.AddPage(SimpleScrollPage(url, self)) | 54 self.AddUserStory(SimpleScrollPage(url, self)) |
55 | 55 |
OLD | NEW |