Home | History | Annotate | Download | only in page_sets
      1 {
      2   "description": "Pages hand-picked for 2012 CrOS scrolling tuning efforts.",
      3   "archive_data_file": "data/top_25.json",
      4   "credentials_path": "data/credentials.json",
      5   "user_agent_type": "desktop",
      6   "smoothness": { "action": "scroll" },
      7   "pages": [
      8     {
      9       "url": "https://www.google.com/#hl=en&q=barack+obama",
     10       "why": "top google property; a google tab is often open",
     11       "navigate_steps" : [
     12         { "action": "navigate" },
     13         { "action": "wait", "condition": "element", "text": "Next" }
     14       ],
     15       "stress_memory": [
     16         { "action": "scroll" },
     17         { "action": "click_element", "text": "Next" },
     18         { "action": "wait", "condition": "href_change" },
     19         { "action": "wait", "condition": "element", "text": "Next" },
     20         { "action": "scroll" },
     21         { "action": "click_element", "text": "Next" },
     22         { "action": "wait", "condition": "href_change" },
     23         { "action": "wait", "condition": "element", "text": "Next" },
     24         { "action": "scroll" },
     25         { "action": "click_element", "text": "Next" },
     26         { "action": "wait", "condition": "href_change" },
     27         { "action": "wait", "condition": "element", "text": "Previous" },
     28         { "action": "scroll" },
     29         { "action": "click_element", "text": "Previous" },
     30         { "action": "wait", "condition": "href_change" },
     31         { "action": "wait", "condition": "element", "text": "Previous" },
     32         { "action": "scroll" },
     33         { "action": "click_element", "text": "Previous" },
     34         { "action": "wait", "condition": "href_change" },
     35         { "action": "wait", "condition": "element", "text": "Previous" },
     36         { "action": "scroll" },
     37         { "action": "click_element", "text": "Previous" },
     38         { "action": "wait", "condition": "href_change" },
     39         { "action": "wait", "condition": "element", "text": "Images" },
     40         { "action": "scroll" },
     41         { "action": "click_element", "text": "Images" },
     42         { "action": "wait", "condition": "href_change" },
     43         { "action": "wait", "condition": "element", "text": "Images" }
     44       ]
     45     },
     46     {
     47       "url": "https://mail.google.com/mail/",
     48       "why": "productivity, top google properties",
     49       "credentials": "google",
     50       "navigate_steps" : [
     51         { "action": "navigate" },
     52         { "action": "wait", "javascript": "window.gmonkey !== undefined && document.getElementById('gb') !== null" }
     53       ],
     54       "smoothness": {
     55         "action": "scroll",
     56         "scrollable_element_function": "function(callback) { gmonkey.load('2.0', function(api) { callback(api.getScrollableElement()); }); }"
     57       },
     58       "stress_memory": [
     59         { "action": "click_element", "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#starred\"]" },
     60         { "action": "wait", "condition": "href_change" },
     61         { "action": "click_element", "selector": "a[href=\"https://mail.google.com/mail/u/0/?shva=1#inbox\"]" },
     62         { "action": "wait", "condition": "href_change" }
     63       ]
     64     },
     65     {
     66       "url": "https://www.google.com/calendar/",
     67       "why": "productivity, top google properties",
     68       "credentials": "google",
     69       "navigate_steps" : [
     70         { "action": "navigate" },
     71         { "action": "wait", "seconds":  2 },
     72         { "action": "wait", "condition": "element", "selector":  "div[class~=\"navForward\"]" },
     73         { "action": "javascript", "expression": "(function() { var elem = document.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';document.body.appendChild(elem); })();" }
     74       ],
     75       "smoothness": {
     76         "action": "scroll",
     77         "scrollable_element_function": "function(callback) { callback(document.getElementById('scrolltimedeventswk')); }"
     78       },
     79       "stress_memory": [
     80         { "action": "click_element", "selector": "div[class~=\"navForward\"]" },
     81         { "action": "wait", "seconds": 2 },
     82         { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" },
     83         { "action": "click_element", "selector": "div[class~=\"navForward\"]" },
     84         { "action": "wait", "seconds": 2 },
     85         { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" },
     86         { "action": "click_element", "selector": "div[class~=\"navForward\"]" },
     87         { "action": "wait", "seconds": 2 },
     88         { "action": "wait", "condition": "element", "selector": "div[class~=\"navForward\"]" },
     89         { "action": "click_element", "selector": "div[class~=\"navForward\"]" },
     90         { "action": "wait", "seconds": 2 },
     91         { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" },
     92         { "action": "click_element", "selector": "div[class~=\"navBack\"]" },
     93         { "action": "wait", "seconds": 2 },
     94         { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" },
     95         { "action": "click_element", "selector": "div[class~=\"navBack\"]" },
     96         { "action": "wait", "seconds": 2 },
     97         { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" },
     98         { "action": "click_element", "selector": "div[class~=\"navBack\"]" },
     99         { "action": "wait", "seconds": 2 },
    100         { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" },
    101         { "action": "click_element", "selector": "div[class~=\"navBack\"]" },
    102         { "action": "wait", "seconds": 2 },
    103         { "action": "wait", "condition": "element", "selector": "div[class~=\"navBack\"]" }
    104       ]
    105     },
    106     {
    107       "url": "https://www.google.com/search?q=cats&tbm=isch",
    108       "why": "tough image case; top google properties",
    109       "credentials": "google"
    110     },
    111     {
    112       "name": "Docs  (1 open document tab)",
    113       "url": "https://docs.google.com/document/d/1X-IKNjtEnx-WW5JIKRLsyhz5sbsat3mfTpAPUSX3_s4/view",
    114       "why": "productivity, top google properties; Sample doc in the link",
    115       "credentials": "google",
    116       "navigate_steps" : [
    117         { "action": "navigate" },
    118         { "action": "wait", "seconds": 2 },
    119         { "action": "wait", "javascript": "document.getElementsByClassName('kix-appview-editor').length" }
    120       ],
    121       "smoothness": {
    122         "action": "scroll",
    123         "scrollable_element_function": "function(callback) { callback(document.getElementsByClassName('kix-appview-editor')[0]); }"
    124       }
    125     },
    126     {
    127       "url": "https://plus.google.com/110031535020051778989/posts",
    128       "why": "social; top google property; Public profile; infinite scrolls",
    129       "credentials": "google",
    130       "navigate_steps" : [
    131         { "action": "navigate" },
    132         { "action": "wait", "condition": "element", "text": "Home" }
    133       ],
    134       "smoothness": {
    135         "action": "scroll",
    136         "scroll_is_infinite": true
    137       },
    138       "stress_memory": [
    139         { "action": "click_element", "text": "Home" },
    140         { "action": "wait", "seconds": 2 },
    141         { "action": "wait", "condition": "element", "text": "Profile" },
    142         { "action": "click_element", "text": "Profile" },
    143         { "action": "wait", "seconds": 2 },
    144         { "action": "wait", "condition": "element", "text": "Explore" },
    145         { "action": "click_element", "text": "Explore" },
    146         { "action": "wait", "seconds": 2 },
    147         { "action": "wait", "condition": "element", "text": "Events" },
    148         { "action": "click_element", "text": "Events" },
    149         { "action": "wait", "seconds": 2 },
    150         { "action": "wait", "condition": "element", "text": "Communities" },
    151         { "action": "click_element", "text": "Communities" },
    152         { "action": "wait", "seconds": 2 },
    153         { "action": "wait", "condition": "element", "text": "Home" }
    154       ]
    155     },
    156     {
    157       "url": "http://www.youtube.com",
    158       "why": "#3 (Alexa global)",
    159       "navigate_steps" : [
    160         { "action": "navigate" },
    161         { "action": "wait", "seconds": 2 }
    162       ],
    163       "credentials": "google"
    164     },
    165     {
    166       "name": "Blogger",
    167       "url": "http://googlewebmastercentral.blogspot.com/",
    168       "why": "#11 (Alexa global), google property; some blogger layouts have infinite scroll but more interesting",
    169       "navigate_steps" : [
    170         { "action": "navigate" },
    171         { "action": "wait", "condition": "element", "text": "accessibility" }
    172       ],
    173       "stress_memory": [
    174         { "action": "click_element", "text": "accessibility" },
    175         { "action": "wait", "condition": "navigate" },
    176         { "action": "scroll" },
    177         { "action": "click_element", "text": "advanced" },
    178         { "action": "wait", "condition": "navigate" },
    179         { "action": "scroll" },
    180         { "action": "click_element", "text": "beginner" },
    181         { "action": "wait", "condition": "navigate" },
    182         { "action": "scroll" },
    183         { "action": "click_element", "text": "Home" },
    184         { "action": "wait", "condition": "navigate" }
    185       ]
    186     },
    187     {
    188       "name": "Wordpress",
    189       "url": "http://en.blog.wordpress.com/2012/09/04/freshly-pressed-editors-picks-for-august-2012/",
    190       "why": "#18 (Alexa global), Picked an interesting post",
    191       "navigate_steps" : [
    192         { "action": "navigate" },
    193         { "action": "wait", "condition": "element", "selector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]" }
    194       ],
    195       "stress_memory": [
    196         { "action": "scroll" },
    197         { "action": "click_element", "selector": "a[href=\"http://en.blog.wordpress.com/2012/08/30/new-themes-able-and-sight/\"]" },
    198         { "action": "wait", "condition": "navigate" },
    199         { "action": "scroll" },
    200         { "action": "click_element", "text": "Features" },
    201         { "action": "wait", "condition": "navigate" },
    202         { "action": "scroll" },
    203         { "action": "click_element", "text": "News" },
    204         { "action": "wait", "condition": "navigate" },
    205         { "action": "scroll" }
    206       ]
    207     },
    208     {
    209       "name": "Facebook",
    210       "url": "http://www.facebook.com/barackobama",
    211       "why": "top social,Public profile",
    212       "credentials": "facebook",
    213       "navigate_steps" : [
    214         { "action": "navigate" },
    215         { "action": "wait", "condition": "element", "text": "About" }
    216       ],
    217       "smoothness": {
    218         "action": "scroll",
    219         "scroll_is_infinite": true
    220       },
    221       "stress_memory": [
    222         { "action": "click_element", "text": "About" },
    223         { "action": "wait", "condition": "navigate" },
    224         { "action": "click_element", "text": "The Audacity of Hope" },
    225         { "action": "wait", "condition": "navigate" },
    226         { "action": "click_element", "text": "Back to Barack Obama's Timeline" },
    227         { "action": "wait", "condition": "navigate" },
    228         { "action": "click_element", "text": "About" },
    229         { "action": "wait", "condition": "navigate" },
    230         { "action": "click_element", "text": "Elected to U.S. Senate" },
    231         { "action": "wait", "condition": "navigate" },
    232         { "action": "click_element", "text": "Home" },
    233         { "action": "wait", "condition": "navigate" }
    234       ]
    235     },
    236     {
    237       "name": "LinkedIn",
    238       "url": "http://www.linkedin.com/in/linustorvalds",
    239       "why": "#12 (Alexa global),Public profile"
    240     },
    241     {
    242       "name": "Wikipedia (1 tab)",
    243       "url": "http://en.wikipedia.org/wiki/Wikipedia",
    244       "why": "#6 (Alexa) most visited worldwide,Picked an interesting page"
    245     },
    246     {
    247       "name": "Twitter",
    248       "url": "https://twitter.com/katyperry",
    249       "why": "#8 (Alexa global),Picked an interesting page",
    250       "navigate_steps" : [
    251         { "action": "navigate" },
    252         { "action": "wait", "seconds": 2 }
    253       ],
    254       "smoothness": {
    255         "action": "scroll",
    256         "scroll_is_infinite": true
    257       }
    258     },
    259     {
    260       "name": "Pinterest",
    261       "url": "http://pinterest.com",
    262       "why": "#37 (Alexa global)",
    263       "smoothness": {
    264         "action": "scroll",
    265         "scroll_is_infinite": true
    266       }
    267     },
    268     {
    269       "name": "ESPN",
    270       "url": "http://espn.go.com",
    271       "why": "#1 sports",
    272       "smoothness": {
    273         "action": "scroll",
    274         "left_start_percentage": 0.1
    275       }
    276     },
    277     {
    278       "url": "http://news.yahoo.com",
    279       "why": "#1 news worldwide (Alexa global)"
    280     },
    281     {
    282       "url": "http://www.cnn.com",
    283       "why": "#2 news worldwide"
    284     },
    285     {
    286       "name": "Weather.com",
    287       "url": "http://www.weather.com/weather/right-now/Mountain+View+CA+94043",
    288       "why": "#7 (Alexa news); #27 total time spent,Picked interesting page"
    289     },
    290     {
    291       "url": "http://www.amazon.com",
    292       "why": "#1 world commerce website by visits; #3 commerce in the US by time spent"
    293     },
    294     {
    295       "url": "http://www.ebay.com",
    296       "why": "#1 commerce website by time spent by users in US"
    297     },
    298     {
    299       "url": "http://games.yahoo.com",
    300       "why": "#1 games according to Alexa (with actual games in it)",
    301       "navigate_steps" : [
    302         { "action": "navigate" },
    303         { "action": "wait", "seconds": 2 }
    304       ]
    305     },
    306     {
    307       "url": "http://booking.com",
    308       "why": "#1 Alexa recreation"
    309     },
    310     {
    311       "url": "http://answers.yahoo.com",
    312       "why": "#1 Alexa reference"
    313     },
    314     {
    315       "url": "http://sports.yahoo.com/",
    316       "why": "#1 Alexa sports"
    317     },
    318     {
    319       "url": "http://techcrunch.com",
    320       "why": "top tech blog"
    321     }
    322   ]
    323 }
    324