🕷️ 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
test: fixes for the mcp errors
Karim shoair1a9a8f4b18e0
diff --git a/tests/ai/test_browser_network.py b/tests/ai/test_browser_network.pyindex cb2d98d..fbc482f 100644--- a/tests/ai/test_browser_network.py+++ b/tests/ai/test_browser_network.py@@ -906,7 +906,10 @@ async def test_network_live_capture_actions_navigation_and_reads() -> None:assert not opened.is_errorsession = server._sessions["browser"].sessiontry:- assert session.network.enabled and opened.structured_content["settings"]["record_requests"] is True+ listed = await client.call_tool("list_sessions", {})+ assert not listed.is_error and listed.structured_content is not None+ assert session.network.enabled+ assert listed.structured_content["result"][0]["settings"]["record_requests"] is Trueempty = await client.call_tool("browser_network_requests", {"session_id": "browser"})assert _listing(empty) == {"requests": [], "next_cursor": 0, "has_more": False, "dropped_count": 0}await session.context.route("**/*", serve)