Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

tests: Update tests accordingly

Karim shoair57e11cef76a5
diff --git a/tests/fetchers/sync/test_camoufox_session.py b/tests/fetchers/sync/test_camoufox_session.py
index 4ea6f44..e282d98 100644
--- a/tests/fetchers/sync/test_camoufox_session.py
+++ b/tests/fetchers/sync/test_camoufox_session.py
@@ -63,12 +63,12 @@ class TestStealthySession:
) as session:
assert session.max_pages == 1
- assert session.headless is True
- assert session.block_images is True
- assert session.disable_resources is True
- assert session.solve_cloudflare is True
- assert session.wait == 1000
- assert session.timeout == 60000
+ assert session._headless is True
+ assert session._block_images is True
+ assert session._disable_resources is True
+ assert session._solve_cloudflare is True
+ assert session._wait == 1000
+ assert session._timeout == 60000
assert session.context is not None
# Test Cloudflare detection