🕷️ 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
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
tests(fetchers): Update tests to use the new argument naming
Karim shoairab23b71836e0
diff --git a/tests/fetchers/async/test_camoufox.py b/tests/fetchers/async/test_camoufox.pyindex ffe6eac..e8bbd3f 100644--- a/tests/fetchers/async/test_camoufox.py+++ b/tests/fetchers/async/test_camoufox.py@@ -70,7 +70,7 @@ class TestStealthyFetcher:"os_randomize": True,"disable_ads": True,# "geoip": True,- "custom_config": {"keep_comments": False, "keep_cdata": False},+ "selector_config": {"keep_comments": False, "keep_cdata": False},"additional_args": {"window": (1920, 1080)},},],diff --git a/tests/fetchers/async/test_dynamic.py b/tests/fetchers/async/test_dynamic.pyindex 3f5f7b5..0d46365 100644--- a/tests/fetchers/async/test_dynamic.py+++ b/tests/fetchers/async/test_dynamic.py@@ -68,7 +68,7 @@ class TestDynamicFetcherAsync:"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0","cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],"network_idle": True,- "custom_config": {"keep_comments": False, "keep_cdata": False},+ "selector_config": {"keep_comments": False, "keep_cdata": False},},],)diff --git a/tests/fetchers/sync/test_camoufox.py b/tests/fetchers/sync/test_camoufox.pyindex 83c5f6c..269238f 100644--- a/tests/fetchers/sync/test_camoufox.py+++ b/tests/fetchers/sync/test_camoufox.py@@ -65,7 +65,7 @@ class TestStealthyFetcher:"os_randomize": True,"disable_ads": True,# "geoip": True,- "custom_config": {"keep_comments": False, "keep_cdata": False},+ "selector_config": {"keep_comments": False, "keep_cdata": False},"additional_args": {"window": (1920, 1080)},},],diff --git a/tests/fetchers/sync/test_dynamic.py b/tests/fetchers/sync/test_dynamic.pyindex a60d9d8..2b1a54d 100644--- a/tests/fetchers/sync/test_dynamic.py+++ b/tests/fetchers/sync/test_dynamic.py@@ -66,7 +66,7 @@ class TestDynamicFetcher:"useragent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0","cookies": [{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],"network_idle": True,- "custom_config": {"keep_comments": False, "keep_cdata": False},+ "selector_config": {"keep_comments": False, "keep_cdata": False},},],)