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?).
This repo contains:
- The source code for qtwebkit (originally from cisco)
- A devcontainer that can be used for development/building of the source
- A github action that automatically builds the code on pull requests, and builds a release when a version tag (
v1
or equivalent) is pushed.
The intended usage is:
- make any changes you need
- (optional) use the devcontainer to confirm the builds succeed locally (open the dev container and run
build.sh
) - create PR and get it approved
- push a version tag to create a release
- use the release build anywhere you need a qtwebdriver build
To use the release, you can download it with a command that looks like the following:
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
This process is intended to match the process used to get a build of Qt from qt-build, and a build of QtWebkit from qtwebkit-build do. It replaces the old process of building the binary manually and placing it in a shared storage area.
QtWebDriver is a WebDriver implementation for Qt.
It can be used to perform automated Selenium testing of applications based on:
- QtWebkit
- QWidgets
- QQuick1 (Qt4) or QQuick2 (Qt5)
If you hadn't used Selenium for automated testing, you may also find this links helpful:
- The build instructions are detailed in the wiki: https://github.com/cisco-open-source/qtwebdriver/wiki/Build-And-Run
- Release notes and pre-built binaries are in the Releases section: https://github.com/cisco-open-source/qtwebdriver/releases
- An example how to customize QtWebDriver in
src/Test/main.cc
- Doxygen
- Wiki
- Mailing list: [email protected]
LGPLv2.1