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

Unified Diff: tools/perf/page_sets/top_25.py

Issue 277143003: Add NavigateToPage API for action_runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/polymer.py ('k') | tools/perf/page_sets/tough_animation_cases.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/top_25.py
diff --git a/tools/perf/page_sets/top_25.py b/tools/perf/page_sets/top_25.py
index 75b88532f53e51f61b2f9df0e3e88435ba81fe85..9fead4bf2ff0f4341f86805a8ace25344a4f76b6 100644
--- a/tools/perf/page_sets/top_25.py
+++ b/tools/perf/page_sets/top_25.py
@@ -35,7 +35,7 @@ class GoogleWebSearchPage(Top25Page):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text' : 'Next',
@@ -148,7 +148,7 @@ class GmailPage(Top25Page):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'javascript': ('window.gmonkey !== undefined &&'
@@ -195,7 +195,7 @@ class GoogleCalendarPage(Top25Page):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
@@ -362,7 +362,7 @@ class GoogleDocPage(Top25Page):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
@@ -395,7 +395,7 @@ class GooglePlusPage(Top25Page):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text' : 'Home',
@@ -488,7 +488,7 @@ class YoutubePage(Top25Page):
self.credentials = 'google'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
@@ -507,7 +507,7 @@ class BlogspotPage(Top25Page):
name='Blogger')
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text' : 'accessibility',
@@ -560,7 +560,7 @@ class WordpressPage(Top25Page):
name='Wordpress')
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'condition': 'element',
@@ -611,7 +611,7 @@ class FacebookPage(Top25Page):
self.credentials = 'facebook'
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'text' : 'About',
@@ -702,7 +702,7 @@ class TwitterPage(Top25Page):
name='Twitter')
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
@@ -771,7 +771,7 @@ class YahooGamesPage(Top25Page):
page_set=page_set)
def RunNavigateSteps(self, action_runner):
- action_runner.RunAction(NavigateAction())
+ action_runner.NavigateToPage(self)
action_runner.RunAction(WaitAction(
{
'seconds': 2
« no previous file with comments | « tools/perf/page_sets/polymer.py ('k') | tools/perf/page_sets/tough_animation_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698