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

Class DummyPage

tests/test_chromium.py:247–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245
246 # Create dummy classes to simulate failure in page.goto
247 class DummyPage:
248 async def goto(self, url, wait_until):
249 raise asyncio.TimeoutError("Forced timeout")
250
251 async def wait_for_load_state(self, state):
252 return
253
254 async def content(self):
255 return "<html>Dummy</html>"
256
257 class DummyContext:
258 async def new_page(self):

Callers 1

new_pageMethod · 0.85

Calls

no outgoing calls

Tested by 1

new_pageMethod · 0.68