Index: content/test/gpu/page_sets/pixel_tests.py |
diff --git a/content/test/gpu/page_sets/pixel_tests.py b/content/test/gpu/page_sets/pixel_tests.py |
index 7d6e33ff009adb4ae6910bcbf9f122a25c5fa249..720af302e43017b39835dcf15fd8b933b2a757be 100644 |
--- a/content/test/gpu/page_sets/pixel_tests.py |
+++ b/content/test/gpu/page_sets/pixel_tests.py |
@@ -17,11 +17,8 @@ class PixelTestsPage(page_module.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
- action_runner.RunAction(WaitAction( |
- { |
- 'javascript': 'domAutomationController._finished', |
- 'timeout': 30 |
- })) |
+ action_runner.WaitForJavaScriptCondition( |
+ 'domAutomationController._finished', timeout=30) |
class PixelTestsPageSet(page_set_module.PageSet): |