| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 # Run to install the necessary components to run webdriver on the buildbots or | 7 # Run to install the necessary components to run webdriver on the buildbots or |
| 8 # on your local machine. | 8 # on your local machine. |
| 9 # Note: The setup steps can be done fairly easily by hand. This script is | 9 # Note: The setup steps can be done fairly easily by hand. This script is |
| 10 # intended to simply and reduce the time for setup since there are a fair number | 10 # intended to simply and reduce the time for setup since there are a fair number |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 lambda x: 'chromedriver_%(os)s_%(version)s.zip' % x).run() | 231 lambda x: 'chromedriver_%(os)s_%(version)s.zip' % x).run() |
| 232 if 'darwin' in sys.platform: | 232 if 'darwin' in sys.platform: |
| 233 GoogleCodeInstaller('selenium', os.path.dirname(os.path.abspath(__file__)), | 233 GoogleCodeInstaller('selenium', os.path.dirname(os.path.abspath(__file__)), |
| 234 lambda x: 'selenium-server-standalone-%(version)s.jar' % x).run() | 234 lambda x: 'selenium-server-standalone-%(version)s.jar' % x).run() |
| 235 | 235 |
| 236 if args.firefox: | 236 if args.firefox: |
| 237 FirefoxInstaller().run() | 237 FirefoxInstaller().run() |
| 238 | 238 |
| 239 if __name__ == '__main__': | 239 if __name__ == '__main__': |
| 240 main() | 240 main() |
| OLD | NEW |