Skip to content

Commit 9cb8d6c

Browse files
author
Vasyl Vavrychuk
committed
Updated README with info on QtWebDriver
Change-Id: I2c595e485ddfab03d2d525db0dc797cfa379c758 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
1 parent 8c7591a commit 9cb8d6c

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
# Selenium
1+
# Selenium (branch with QtWebDriver)
22

33
Selenium is an umbrella project for various tools and libraries that
44
enable automation of web browsers. Amongst other things it provides
55
the support infrastructure for the [W3C WebDriver
66
specification](https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html),
77
that lets you write interchangable code for all major web browsers.
88

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+
917
The project is made possible by volunteer contributors who have put in
1018
thousands of hours of their own time, and made the source code freely
1119
available under the [Apache 2.0
@@ -180,6 +188,23 @@ Note that the `test_chrome` target requires that you have the separate
180188
[Chrome Driver](http://code.google.com/p/selenium/wiki/ChromeDriver)
181189
binary available on your `PATH`.
182190

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+
183208
If you are interested in a single language binding, try one of:
184209

185210
```sh

0 commit comments

Comments
 (0)