| Index: tools/perf/benchmarks/robohornet_pro.py
|
| diff --git a/tools/perf/benchmarks/robohornet_pro.py b/tools/perf/benchmarks/robohornet_pro.py
|
| index dfa54b288a547cdd4d62af400b998cc66ccba3c2..25e5c8b6431884a0970a728c175880d297e806cc 100644
|
| --- a/tools/perf/benchmarks/robohornet_pro.py
|
| +++ b/tools/perf/benchmarks/robohornet_pro.py
|
| @@ -33,15 +33,15 @@ class _RobohornetProMeasurement(legacy_page_test.LegacyPageTest):
|
| self._power_metric.Start(page, tab)
|
|
|
| def ValidateAndMeasurePage(self, page, tab, results):
|
| - tab.ExecuteJavaScript2('ToggleRoboHornet()')
|
| - tab.WaitForJavaScriptCondition2(
|
| + tab.ExecuteJavaScript('ToggleRoboHornet()')
|
| + tab.WaitForJavaScriptCondition(
|
| 'document.getElementById("results").innerHTML.indexOf("Total") != -1',
|
| timeout=600)
|
|
|
| self._power_metric.Stop(page, tab)
|
| self._power_metric.AddResults(tab, results)
|
|
|
| - result = int(tab.EvaluateJavaScript2('stopTime - startTime'))
|
| + result = int(tab.EvaluateJavaScript('stopTime - startTime'))
|
| results.AddValue(
|
| scalar.ScalarValue(results.current_page, 'Total', 'ms', result))
|
|
|
|
|