Coverage report: 85%

Files Functions Classes

coverage.py v7.10.6, created at 2025-09-13 21:41 +0000

File function statements missing excluded coverage
human_requests/__init__.py (no function) 5 0 0 100%
human_requests/abstraction/cookies.py Cookie.expires_as_datetime 1 1 0 0%
human_requests/abstraction/cookies.py Cookie.max_age_as_datetime 1 1 0 0%
human_requests/abstraction/cookies.py Cookie.to_playwright_like_dict 1 1 0 0%
human_requests/abstraction/cookies.py Cookie.from_playwright_like_dict 1 0 0 100%
human_requests/abstraction/cookies.py CookieManager.__iter__ 1 0 0 100%
human_requests/abstraction/cookies.py CookieManager.__len__ 1 0 0 100%
human_requests/abstraction/cookies.py CookieManager.__bool__ 1 1 0 0%
human_requests/abstraction/cookies.py CookieManager.get 1 1 0 0%
human_requests/abstraction/cookies.py CookieManager.get_for_domain 5 5 0 0%
human_requests/abstraction/cookies.py CookieManager.get_for_domain._match 1 1 0 0%
human_requests/abstraction/cookies.py CookieManager.add 5 1 0 80%
human_requests/abstraction/cookies.py CookieManager.add._add_one 6 0 0 100%
human_requests/abstraction/cookies.py CookieManager.delete 4 1 0 75%
human_requests/abstraction/cookies.py CookieManager.to_playwright 1 0 0 100%
human_requests/abstraction/cookies.py CookieManager.add_from_playwright 1 0 0 100%
human_requests/abstraction/cookies.py (no function) 42 0 0 100%
human_requests/abstraction/http.py URL.__post_init__ 11 0 0 100%
human_requests/abstraction/http.py (no function) 40 0 0 100%
human_requests/abstraction/proxy_manager.py ParsedProxy.from_any 15 13 0 13%
human_requests/abstraction/proxy_manager.py ParsedProxy.for_playwright 7 7 0 0%
human_requests/abstraction/proxy_manager.py ParsedProxy.for_curl 9 9 0 0%
human_requests/abstraction/proxy_manager.py (no function) 16 0 0 100%
human_requests/abstraction/request.py (no function) 16 0 0 100%
human_requests/abstraction/response.py Response.render 3 1 0 67%
human_requests/abstraction/response.py (no function) 24 0 0 100%
human_requests/browsers/__init__.py (no function) 2 0 0 100%
human_requests/browsers/browser_master.py BrowserMaster.__init__ 5 0 0 100%
human_requests/browsers/browser_master.py BrowserMaster.engine 1 1 0 0%
human_requests/browsers/browser_master.py BrowserMaster.engine 2 2 0 0%
human_requests/browsers/browser_master.py BrowserMaster.stealth 1 1 0 0%
human_requests/browsers/browser_master.py BrowserMaster.stealth 2 2 0 0%
human_requests/browsers/browser_master.py BrowserMaster.launch_opts 1 1 0 0%
human_requests/browsers/browser_master.py BrowserMaster.launch_opts 2 0 0 100%
human_requests/browsers/browser_master.py BrowserMaster.start 7 0 0 100%
human_requests/browsers/browser_master.py BrowserMaster.close 5 0 0 100%
human_requests/browsers/browser_master.py BrowserMaster.new_context 3 0 0 100%
human_requests/browsers/browser_master.py BrowserMaster._select_family 9 2 0 78%
human_requests/browsers/browser_master.py BrowserMaster._validate_compat 2 1 0 50%
human_requests/browsers/browser_master.py (no function) 26 0 0 100%
human_requests/browsers/families/__init__.py (no function) 4 0 0 100%
human_requests/browsers/families/base.py DesiredConfig.__init__ 4 0 0 100%
human_requests/browsers/families/base.py BrowserFamily.name 1 1 0 0%
human_requests/browsers/families/base.py BrowserFamily.start 1 1 0 0%
human_requests/browsers/families/base.py BrowserFamily.close 1 1 0 0%
human_requests/browsers/families/base.py BrowserFamily.browser 1 1 0 0%
human_requests/browsers/families/base.py BrowserFamily.new_context 3 0 0 100%
human_requests/browsers/families/base.py BrowserFamily._ensure 2 1 0 50%
human_requests/browsers/families/base.py (no function) 23 0 0 100%
human_requests/browsers/families/camoufox_family.py CamoufoxFamily.__init__ 3 0 0 100%
human_requests/browsers/families/camoufox_family.py CamoufoxFamily.name 1 0 0 100%
human_requests/browsers/families/camoufox_family.py CamoufoxFamily.browser 1 0 0 100%
human_requests/browsers/families/camoufox_family.py CamoufoxFamily.start 18 4 0 78%
human_requests/browsers/families/camoufox_family.py CamoufoxFamily.close 7 0 0 100%
human_requests/browsers/families/camoufox_family.py (no function) 12 0 0 100%
human_requests/browsers/families/patchright_family.py PatchrightFamily.__init__ 3 0 0 100%
human_requests/browsers/families/patchright_family.py PatchrightFamily.name 1 0 0 100%
human_requests/browsers/families/patchright_family.py PatchrightFamily.browser 1 0 0 100%
human_requests/browsers/families/patchright_family.py PatchrightFamily.start 15 3 0 80%
human_requests/browsers/families/patchright_family.py PatchrightFamily.close 7 0 0 100%
human_requests/browsers/families/patchright_family.py (no function) 12 0 0 100%
human_requests/browsers/families/playwright_family.py PlaywrightFamily.__init__ 6 0 0 100%
human_requests/browsers/families/playwright_family.py PlaywrightFamily.name 1 0 0 100%
human_requests/browsers/families/playwright_family.py PlaywrightFamily.browser 1 0 0 100%
human_requests/browsers/families/playwright_family.py PlaywrightFamily.start 25 4 0 84%
human_requests/browsers/families/playwright_family.py PlaywrightFamily.close 7 0 0 100%
human_requests/browsers/families/playwright_family.py PlaywrightFamily._stop_pw 7 0 0 100%
human_requests/browsers/families/playwright_family.py (no function) 13 0 0 100%
human_requests/impersonation.py _family 4 1 0 75%
human_requests/impersonation.py _always 1 0 0 100%
human_requests/impersonation.py ImpersonationConfig._filter_pool 15 3 0 80%
human_requests/impersonation.py ImpersonationConfig.choose 6 1 0 83%
human_requests/impersonation.py ImpersonationConfig.choose._pick 1 0 0 100%
human_requests/impersonation.py ImpersonationConfig.forge_headers 17 4 0 76%
human_requests/impersonation.py (no function) 38 0 0 100%
human_requests/session.py Session.__init__ 26 1 0 96%
human_requests/session.py Session._make_browser_launch_opts 6 1 0 83%
human_requests/session.py Session.request 49 14 0 71%
human_requests/session.py Session.request._do_request 5 0 0 100%
human_requests/session.py Session.goto_page 13 0 0 100%
human_requests/session.py Session._render_response 16 0 0 100%
human_requests/session.py Session._render_response._attach_route_once 3 0 0 100%
human_requests/session.py Session._render_response._attach_route_once.handler 1 0 0 100%
human_requests/session.py Session._render_response._on_retry 1 1 0 0%
human_requests/session.py Session.close 4 0 0 100%
human_requests/session.py Session.__aenter__ 1 1 0 0%
human_requests/session.py Session.__aexit__ 1 1 0 0%
human_requests/session.py (no function) 31 0 0 100%
human_requests/tools/helper_tools.py build_storage_state_for_context 8 4 0 50%
human_requests/tools/helper_tools.py merge_storage_state_from_context 17 1 0 94%
human_requests/tools/helper_tools.py handle_nav_with_retries 15 13 0 13%
human_requests/tools/helper_tools.py (no function) 7 0 4 100%
human_requests/tools/http_utils.py cookie_matches 3 0 0 100%
human_requests/tools/http_utils.py cookie_matches.domain_match 5 1 0 80%
human_requests/tools/http_utils.py cookie_matches.path_match 6 1 0 83%
human_requests/tools/http_utils.py guess_encoding 4 0 0 100%
human_requests/tools/http_utils.py compose_cookie_header 9 1 0 89%
human_requests/tools/http_utils.py collect_set_cookie_headers 8 1 0 88%
human_requests/tools/http_utils.py parse_set_cookie 7 0 0 100%
human_requests/tools/http_utils.py (no function) 10 0 0 100%
Total   806 119 4 85%

No items found using the specified filter.