OLD | NEW |
(Empty) | |
| 1 This file contains high-level info about how ChromeDriver works and how to |
| 2 contribute. |
| 3 |
| 4 =====Architecture===== |
| 5 ChromeDriver is an implementation of the WebDriver standard, |
| 6 which allows users to automate testing of their website across browsers. |
| 7 |
| 8 ChromeDriver is shipped separately from Chrome. It controls Chrome out of |
| 9 process through DevTools (WebKit Inspector). ChromeDriver is a shared library |
| 10 which exports a few functions for executing WebDriver-standard commands, which |
| 11 are packaged in JSON. The WebDriver open source project maintains clients in |
| 12 various languages which can load this shared library. |
| 13 |
| 14 For internal use, a custom python client for ChromeDriver is available in |
| 15 chromedriver.py, which works for desktop (win/mac/linux). |
| 16 |
| 17 =====Testing===== |
| 18 There are 4 test suites for verifying ChromeDriver's correctness: |
| 19 |
| 20 1) chromedriver2_unittests (chrome/chrome_tests.gypi) |
| 21 This is the unittest target, which runs on the main waterfall on win/mac/linux |
| 22 and can close the tree. It is also run on the commit queue and try bots by |
| 23 default. Tests should take a few milliseconds and be very stable. |
| 24 |
| 25 2) chromedriver2_tests (chrome/chrome_tests.gypi) |
| 26 This is a collection of C++ medium sized tests which can be run optionally |
| 27 on the trybots. |
| 28 |
| 29 3) python tests |
| 30 These are integration tests which can be found in run_py_tests.py. They are |
| 31 run on the chromium QA bots: |
| 32 http://build.chromium.org/p/chromium.pyauto/waterfall |
| 33 |
| 34 4) WebDriver Java acceptance tests |
| 35 These are integration tests from the WebDriver open source project which can |
| 36 be run via run_java_tests.py. They are also run on the chromium QA bots. |
| 37 See http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/webdriver |
| 38 |
| 39 =====Issues===== |
| 40 Issues are tracked in chromium's issue tracker with Feature=WebDriver: |
| 41 https://code.google.com/p/chromium/issues/list?q=feature%3Dwebdriver |
OLD | NEW |