diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-16 22:43:32 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-16 22:43:32 +0000 |
commit | 488eb739bb82cf71ad8fd81597d839cdee986353 (patch) | |
tree | 698d62cfe1550af3609d4f2aa6c10da7f24f7b48 /tools | |
parent | fb72d57ca245f3f92783ecc9c5dabf7adc42d1c8 (diff) | |
download | chromium_src-488eb739bb82cf71ad8fd81597d839cdee986353.zip chromium_src-488eb739bb82cf71ad8fd81597d839cdee986353.tar.gz chromium_src-488eb739bb82cf71ad8fd81597d839cdee986353.tar.bz2 |
[Telemetry] Wait for pages to load completely during record_wpr.
Previously we were only waiting for DOMContentLoaded instead of Load.
BUG=None
TEST=Recorded new page_sets on linux
NOTRY=True
Review URL: https://codereview.chromium.org/13991015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/telemetry/telemetry/page/record_wpr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/telemetry/telemetry/page/record_wpr.py b/tools/telemetry/telemetry/page/record_wpr.py index c3e615e..b315401 100755 --- a/tools/telemetry/telemetry/page/record_wpr.py +++ b/tools/telemetry/telemetry/page/record_wpr.py @@ -37,6 +37,7 @@ class RecordPage(page_test.PageTest): def Run(self, options, page, tab, results): # When recording, sleep to catch any resources that load post-onload. + tab.WaitForDocumentReadyStateToBeComplete() time.sleep(3) # Run the actions for all benchmarks. Reload the page between |