()
| 12 | |
| 13 | @pytest.mark.asyncio |
| 14 | async def test_extract_markdown(): |
| 15 | async with AsyncWebCrawler(verbose=True) as crawler: |
| 16 | url = "https://www.nbcnews.com/business" |
| 17 | result = await crawler.arun(url=url, bypass_cache=True) |
| 18 | assert result.success |
| 19 | assert result.markdown |
| 20 | assert isinstance(result.markdown, str) |
| 21 | assert len(result.markdown) > 0 |
| 22 | |
| 23 | @pytest.mark.asyncio |
| 24 | async def test_extract_cleaned_html(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…