Index: content/test/gpu/page_sets/memory_tests.py |
diff --git a/content/test/gpu/page_sets/memory_tests.py b/content/test/gpu/page_sets/memory_tests.py |
index dee9c15aceb7c8abb06afd5aec588b440cc6b4a2..ef539c748d936fb5c2459fbc1c88962f9cf19d70 100644 |
--- a/content/test/gpu/page_sets/memory_tests.py |
+++ b/content/test/gpu/page_sets/memory_tests.py |
@@ -17,11 +17,8 @@ class MemoryTestsPage(page_module.Page): |
def RunNavigateSteps(self, action_runner): |
action_runner.NavigateToPage(self) |
- action_runner.RunAction(WaitAction( |
- { |
- 'javascript': 'domAutomationController._finished', |
- 'timeout': 60 |
- })) |
+ action_runner.WaitForJavaScriptCondition( |
+ 'domAutomationController._finished', timeout=60) |
class MemoryTestsPageSet(page_set_module.PageSet): |