Skip to content

Commit 25dffa3

Browse files
committed
chore(docs)[sc-97669]: update README to include usage instructions
1 parent e948b58 commit 25dffa3

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

Readme.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
1-
# Synopsis
1+
# Description
2+
3+
This Repo contains a fork of the QtWebDriver source code. We need this because the automated Robot tests in boron use it (and maybe a few other things?).
4+
5+
This repo contains:
6+
- The source code for qtwebkit (originally from cisco)
7+
- A devcontainer that can be used for development/building of the source
8+
- A github action that automatically builds the code on pull requests, and builds a release when a version tag (`v1` or equivalent) is pushed.
9+
10+
The intended usage is:
11+
1. make any changes you need
12+
2. (optional) use the devcontainer to confirm the builds succeed locally (open the dev container and run `build.sh`)
13+
3. create PR and get it approved
14+
4. push a version tag to create a release
15+
5. use the release build anywhere you need a qtwebdriver build
16+
17+
To use the release, you can download it with a command that looks like the following:
18+
```bash
19+
curl -L https://github.com/constructpm/qtwebdriver/releases/download/v5.15.3-dev-1/qtwebdriver-5.15.8-lts-lgpl-cpp17-ubuntu-22.04-x64.tar.gz | sudo tar xvJ -C /opt
20+
```
21+
22+
This process is intended to match the process used to get a build of Qt from [qt-build](https://github.com/constructpm/qt-build), and a build of QtWebkit from [qtwebkit-build](https://github.com/constructpm/qtwebkit-build) do.
23+
It replaces the old process of building the binary manually and placing it in a shared storage area.
24+
25+
# Old Readme
26+
27+
## Synopsis
228
QtWebDriver is a WebDriver implementation for Qt.
329

430
It can be used to perform automated Selenium testing of applications based on:
@@ -10,15 +36,15 @@ If you hadn't used Selenium for automated testing, you may also find this links
1036
* https://github.com/seleniumhq/selenium
1137
* http://docs.seleniumhq.org/
1238

13-
# Build and run
39+
## Build and run
1440
* The build instructions are detailed in the wiki: https://github.com/cisco-open-source/qtwebdriver/wiki/Build-And-Run
1541
* Release notes and pre-built binaries are in the Releases section: https://github.com/cisco-open-source/qtwebdriver/releases
1642

17-
# Other links
43+
## Other links
1844
* An example how to customize QtWebDriver in `src/Test/main.cc`
1945
* [Doxygen](http://cisco-open-source.github.io/qtwebdriver/html)
2046
* [Wiki](https://github.com/cisco-open-source/qtwebdriver/wiki)
2147
* Mailing list: qtwebdriver-users@external.cisco.com
2248

23-
# License
49+
## License
2450
LGPLv2.1

0 commit comments

Comments
 (0)