qunit-selenium(1)

qunit-selenium1

Run qunit tests through selenium webdriver

Usage

qunit-selenium [--timeout seconds] [--screenshot FILE] URL

Overview

qunit-selenium will open the QUnit test page at the given URL and wait for the tests to complete before collecting and displaying the test run results.

If the tests do not complete within the given timeout seconds, qunit-selenium will raise an error and the command will fail.

If any error is raised by qunit-selenium which would cause a premature end of the test run, the program will generate a screenshot of the error page (file qunit-selenium-error.png)

Options

--timeout seconds
Specifies the maximum timeout (default is 10 seconds).
--screenshot FILE
Capture the screen output to FILE.

Examples

qunit-selenium --timeout 20 --screenshot mytests.png http://myserver/tests

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Authors

qunit-selenium and its documentation was written by Silvio Montanari ⟨[email protected]⟩.

This manual was created by Jongmin Kim ⟨[email protected]⟩ for the Debian project (but may be used by others).

From qunit-selenium 0.0.4-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.