|
1 | | -# Selenium |
| 1 | +# Selenium (branch with QtWebDriver) |
2 | 2 |
|
3 | 3 | Selenium is an umbrella project for various tools and libraries that |
4 | 4 | enable automation of web browsers. Amongst other things it provides |
5 | 5 | the support infrastructure for the [W3C WebDriver |
6 | 6 | specification](https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html), |
7 | 7 | that lets you write interchangable code for all major web browsers. |
8 | 8 |
|
| 9 | +This fork of Selenium includes Java language bindings for [QtWebDriver] |
| 10 | +(https://github.com/cisco-open-source/qtwebdriver), see [QtWebDriverService] |
| 11 | +(https://github.com/cisco-open-source/selenium/blob/master/java/client/src/org/openqa/selenium/qtwebkit/QtWebDriverService.java) class. |
| 12 | +It is possible to test QWidget, QWebView, QQuick1 (Qt4), |
| 13 | +QQuick2 (Qt5) or hybrid applications using this driver. QtWebDriver features |
| 14 | +are covered by series tests included in this repository. Information |
| 15 | +how to run them is available below. |
| 16 | + |
9 | 17 | The project is made possible by volunteer contributors who have put in |
10 | 18 | thousands of hours of their own time, and made the source code freely |
11 | 19 | available under the [Apache 2.0 |
@@ -180,6 +188,23 @@ Note that the `test_chrome` target requires that you have the separate |
180 | 188 | [Chrome Driver](http://code.google.com/p/selenium/wiki/ChromeDriver) |
181 | 189 | binary available on your `PATH`. |
182 | 190 |
|
| 191 | +To run QtWebDriver tests try: |
| 192 | + |
| 193 | +```sh |
| 194 | +./go test_qtwebkit |
| 195 | +./go test_wd_native_qt4 |
| 196 | +./go test_wd_native_qt5 |
| 197 | +./go test_wd_hybrid_qt4 |
| 198 | +./go test_wd_hybrid_qt5 |
| 199 | +./go test_wd_quick1 |
| 200 | +./go test_wd_quick2 |
| 201 | +``` |
| 202 | + |
| 203 | +These targets require environment variable `qtwebdriver` to contain path |
| 204 | +to the separate [QtWebDriver](https://github.com/cisco-open-source/qtwebdriver) |
| 205 | +binary. Additional command line arguments to run this binary can be |
| 206 | +provided with `qtwebdriverargs` environment variable. |
| 207 | + |
183 | 208 | If you are interested in a single language binding, try one of: |
184 | 209 |
|
185 | 210 | ```sh |
|
0 commit comments