MCPcopy Create free account
hub / github.com/Vinyzu/Botright / test_browserleaks

Function test_browserleaks

tests/test_webrtc.py:7–12  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

5
6@pytest.mark.asyncio
7async def test_browserleaks(page: Page):
8 await page.goto("https://browserleaks.com/webrtc")
9 await page.wait_for_timeout(2000)
10
11 leak_check = await page.locator("[id='rtc-leak']").text_content()
12 assert "No Leak" in leak_check
13
14
15@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

locatorMethod · 0.45

Tested by

no test coverage detected