Index: tools/telemetry/telemetry/page/record_wpr.py |
diff --git a/tools/telemetry/telemetry/page/record_wpr.py b/tools/telemetry/telemetry/page/record_wpr.py |
index 9d46c9cb69093178f92c3c78b9182380524afdea..1b4e71ab5a936f936af58b4251ae981f59f770a2 100755 |
--- a/tools/telemetry/telemetry/page/record_wpr.py |
+++ b/tools/telemetry/telemetry/page/record_wpr.py |
@@ -28,6 +28,14 @@ class RecorderPageTest(page_test.PageTest): # pylint: disable=W0223 |
def CanRunForPage(self, page): |
return page.url.startswith('http') |
+ def WillStartBrowser(self, browser): |
+ if self.page_test: |
+ self.page_test.WillStartBrowser(browser) |
+ |
+ def DidStartBrowser(self, browser): |
+ if self.page_test: |
+ self.page_test.DidStartBrowser(browser) |
+ |
def WillNavigateToPage(self, page, tab): |
"""Override to ensure all resources are fetched from network.""" |
tab.ClearCache(force=False) |