| OLD | NEW |
| 1 #!/usr/bin/python2.4 | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Does scraping for all currently-known versions of Chrome""" | 6 """Does scraping for all currently-known versions of Chrome""" |
| 7 | 7 |
| 8 import pywintypes | 8 import pywintypes |
| 9 import types | 9 import types |
| 10 | 10 |
| 11 from drivers import keyboard | 11 from drivers import keyboard |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 # We're being invoked rather than imported, so run some tests | 183 # We're being invoked rather than imported, so run some tests |
| 184 path = r"c:\sitecompare\scrapes\chrome\0.1.97.0" | 184 path = r"c:\sitecompare\scrapes\chrome\0.1.97.0" |
| 185 windowing.PreparePath(path) | 185 windowing.PreparePath(path) |
| 186 | 186 |
| 187 # Scrape three sites and save the results | 187 # Scrape three sites and save the results |
| 188 Scrape([ | 188 Scrape([ |
| 189 "http://www.microsoft.com", | 189 "http://www.microsoft.com", |
| 190 "http://www.google.com", | 190 "http://www.google.com", |
| 191 "http://www.sun.com"], | 191 "http://www.sun.com"], |
| 192 path, (1024, 768), (0, 0)) | 192 path, (1024, 768), (0, 0)) |
| 193 | |
| OLD | NEW |