{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"zope.testbrowser provides a programmable web browser for automated testing of web applications and sites, with support for form interaction, cookie handling, and HTTP methods.","skillfed_tags":["testing","wsgi","headless-browser"],"use_cases":["Test form submission and validation in a WSGI application without running a browser","Automate functional tests that verify user workflows across multiple pages","Inspect and manipulate form controls programmatically in test suites","Verify HTTP redirects, cookies, and response headers in integration tests","Validate HTML link targets and form structure in automated test scenarios"],"what_it_does":"zope.testbrowser is a headless browser library designed for automated testing of web applications. It wraps WebTest and BeautifulSoup4 to provide a high-level API for navigating pages, filling forms, clicking links, and inspecting responses\u2014all without a graphical browser. It's commonly used in functional black-box tests for WSGI applications, though it can work with any HTTP-based site.\n\nThe package handles cookies, redirects, form submission (GET and POST), file uploads, and control selection by name or label. It maintains browser state across requests and provides introspection of page content. Since version 5.0, it has used WebTest internally rather than mechanize, and requires explicit WSGI app setup rather than relying on Zope's testing infrastructure.","worth_installing":"Yes, if you are testing a WSGI application or have a clear need for headless form automation in a test suite. The package is actively maintained, has no known vulnerabilities, and integrates well with standard testing frameworks. The main condition is that you must provide or wrap your application as WSGI; it is not a general-purpose web scraper. License clarity should be confirmed for your use case."},"id":"zope-testbrowser","links":{"html":"https://skillfed.io/packages/zope-testbrowser","md":"https://skillfed.io/packages/zope-testbrowser.md","pypi":"https://pypi.org/project/zope-testbrowser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-12","license_spdx":null,"license_treatment":"unclear","name":"zope.testbrowser","python_support":"supports_current","summary":"Programmable browser for functional black-box tests"},"popularity":{"monthly_downloads":129437,"position":11671,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"8.0"}
