Chromium Code Reviews| Index: tools/chrome_proxy/webdriver/simple_smoke.py |
| diff --git a/tools/chrome_proxy/webdriver/simple_smoke.py b/tools/chrome_proxy/webdriver/simple_smoke.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..edbbd103046a174fba94d9177c0cb6bd53cb9971 |
| --- /dev/null |
| +++ b/tools/chrome_proxy/webdriver/simple_smoke.py |
| @@ -0,0 +1,23 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import time |
| + |
| +from common import IntegrationTest |
| +from common import TestDriver |
| + |
| + |
| +class SimpleSmoke(IntegrationTest): |
| + |
| + def TestCheckPageWithProxy(self): |
| + with TestDriver() as t: |
| + t.AddChromeArgs(['--enable-spdy-proxy-auth', '--disable-quic']) |
|
tbansal1
2016/11/29 18:38:53
I do not think we need "disable-quic" in the new s
Robert Ogden
2016/11/29 18:53:54
Done.
|
| + t.SetURL('http://check.googlezip.net/test.html') |
| + t.LoadPage() |
| + print 'Document Title: ', t.ExecuteJavascript('document.title') |
| + time.sleep(5) |
| + |
| +if __name__ == '__main__': |
| + test = SimpleSmoke() |
| + test.RunAllTests() |