A Capybara driver for headless WebKit to test JavaScript web apps (development suspended).
capybara-webkit is a Capybara driver that enables headless testing of JavaScript web applications using the WebKit browser engine. It allows developers to run integration tests without a visible browser window, executing JavaScript fully for testing dynamic web apps. However, development has been suspended due to the deprecation of QtWebKit.
Ruby developers using Capybara for integration testing of JavaScript-heavy web applications, particularly those needing headless test execution in CI environments.
Developers chose capybara-webkit for its fast, reliable headless testing with full JavaScript execution, avoiding the overhead of full browser automation. It provided additional debugging methods and configuration options not available in standard Capybara drivers.
A Capybara driver for headless WebKit to test JavaScript web apps
Leverages QtWebKit for browser-less testing without the overhead of full browsers, enabling quick integration tests as described in the philosophy.
Executes JavaScript completely, allowing testing of dynamic web applications, which is essential for scenarios tagged with @javascript in frameworks like RSpec.
Provides non-standard methods like console_messages and error_messages for detailed insight into JavaScript behavior during tests, as documented in the README.
Offers configurable options for URLs, timeouts, SSL errors, and proxies, allowing fine-tuned test behavior without modifying application code.
The project is no longer maintained due to QtWebKit deprecation, meaning no bug fixes, security updates, or compatibility with newer systems, as stated upfront in the README.
Requires downloading and building Qt libraries (version 4.8+), which can be cumbersome and error-prone, especially on CI systems, leading to setup headaches.
Even in headless mode, it needs an X server on Linux, necessitating additional setup with Xvfb or similar tools, adding complexity to deployment.
Relies on deprecated QtWebKit, which may not support modern web standards or integrate well with current development tools, pushing users towards alternatives.
Acceptance test framework for web applications
A library for setting up Ruby objects as test data.
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
RSpec for Rails 7+
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.