Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: tools/perf/page_sets/top_10.json

Issue 22883011: Removing Page.WaitToLoad and update all pagesets to use explicit wait actions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Putting default navigate_steps inside page_set rather than page Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/perf/page_sets/pica.json ('k') | tools/perf/page_sets/top_25.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "description": "10 Pages chosen from Alexa top sites.", 2 "description": "10 Pages chosen from Alexa top sites.",
3 "archive_data_file": "../data/top_10.json", 3 "archive_data_file": "../data/top_10.json",
4 "credentials_path": "../data/credentials.json", 4 "credentials_path": "../data/credentials.json",
5 "user_agent_type": "desktop", 5 "user_agent_type": "desktop",
6 "smoothness": { "action": "scroll" }, 6 "smoothness": { "action": "scroll" },
7 "pages": [ 7 "pages": [
8 { 8 {
9 "url": "https://www.google.com/#hl=en&q=barack+obama", 9 "url": "https://www.google.com/#hl=en&q=barack+obama",
10 "why": "top google property; a google tab is often open", 10 "why": "top google property; a google tab is often open",
11 "wait_for_element_with_text": "Next" 11 "navigate_steps" : [
12 { "action": "navigate" },
13 { "action": "wait", "condition": "element", "text": "Next" }
14 ]
12 }, 15 },
13 { 16 {
14 "url": "https://mail.google.com/mail/", 17 "url": "https://mail.google.com/mail/",
15 "why": "productivity, top google properties", 18 "why": "productivity, top google properties",
16 "credentials": "google", 19 "credentials": "google",
17 "wait_for_javascript_expression": "window.gmonkey !== undefined && documen t.getElementById('gb') !== null" 20 "navigate_steps" : [
21 { "action": "navigate" },
22 { "action": "wait", "javascript": "window.gmonkey !== undefined && docum ent.getElementById('gb') !== null" }
23 ]
18 }, 24 },
19 { 25 {
20 "url": "https://www.google.com/calendar/", 26 "url": "https://www.google.com/calendar/",
21 "why": "productivity, top google properties", 27 "why": "productivity, top google properties",
22 "credentials": "google", 28 "credentials": "google",
23 "wait_for_element_with_selector": "div[class~=\"navForward\"]", 29 "navigate_steps" : [
24 "post_navigate_javascript_to_execute": "(function() { var elem = document. createElement('meta');elem.name='viewport';elem.content='initial-scale=1';docume nt.body.appendChild(elem); })();", 30 { "action": "navigate" },
25 "wait_seconds": 2 31 { "action": "javascript", "expression": "(function() { var elem = docume nt.createElement('meta');elem.name='viewport';elem.content='initial-scale=1';doc ument.body.appendChild(elem); })();" },
32 { "action": "wait", "seconds": 2 },
33 { "action": "wait", "condition": "element", "selector": "div[class~=\"na vForward\"]" }
34 ]
26 }, 35 },
27 { 36 {
28 "url": "http://www.youtube.com", 37 "url": "http://www.youtube.com",
29 "why": "#3 (Alexa global)", 38 "why": "#3 (Alexa global)",
30 "wait_seconds": 2, 39 "navigate_steps" : [
40 { "action": "navigate" },
41 { "action": "wait", "seconds": 2 }
42 ],
31 "credentials": "google" 43 "credentials": "google"
32 }, 44 },
33 { 45 {
34 "name": "Facebook", 46 "name": "Facebook",
35 "url": "http://www.facebook.com/barackobama", 47 "url": "http://www.facebook.com/barackobama",
36 "why": "top social,Public profile", 48 "why": "top social,Public profile",
37 "credentials": "facebook", 49 "credentials": "facebook",
38 "wait_for_element_with_text": "About" 50 "navigate_steps" : [
51 { "action": "navigate" },
52 { "action": "wait", "condition": "element", "text": "About" }
53 ]
39 }, 54 },
40 { 55 {
41 "name": "Wikipedia (1 tab)", 56 "name": "Wikipedia (1 tab)",
42 "url": "http://en.wikipedia.org/wiki/Wikipedia", 57 "url": "http://en.wikipedia.org/wiki/Wikipedia",
43 "why": "#6 (Alexa) most visited worldwide,Picked an interesting page" 58 "why": "#6 (Alexa) most visited worldwide,Picked an interesting page"
44 }, 59 },
45 { 60 {
46 "url": "http://www.amazon.com", 61 "url": "http://www.amazon.com",
47 "why": "#1 world commerce website by visits; #3 commerce in the US by time spent" 62 "why": "#1 world commerce website by visits; #3 commerce in the US by time spent"
48 }, 63 },
49 { 64 {
50 "url": "http://www.yahoo.com/", 65 "url": "http://www.yahoo.com/",
51 "why": "#4 Alexa" 66 "why": "#4 Alexa"
52 }, 67 },
53 { 68 {
54 "url": "http://www.bing.com/", 69 "url": "http://www.bing.com/",
55 "why": "#16 Alexa" 70 "why": "#16 Alexa"
56 }, 71 },
57 { 72 {
58 "url": "http://www.ask.com/", 73 "url": "http://www.ask.com/",
59 "why": "#20 Alexa" 74 "why": "#20 Alexa"
60 } 75 }
61 ] 76 ]
62 } 77 }
OLDNEW
« no previous file with comments | « tools/perf/page_sets/pica.json ('k') | tools/perf/page_sets/top_25.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698