MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / dummy_js

Function dummy_js

tests/test_chromium.py:457–458  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

455 loader = ChromiumLoader(urls, backend="playwright", requires_js_support=True)
456
457 async def dummy_js(url):
458 return f"<html>JS content for {url}</html>"
459
460 monkeypatch.setattr(loader, "ascrape_with_js_support", dummy_js)
461 docs = list(loader.lazy_load())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected