MCPcopy Index your code
hub / github.com/microsoft/playwright-python / test_start_stop

Function test_start_stop

tests/async/test_tracing.py:47–51  ·  view source on GitHub ↗
(browser: Browser)

Source from the content-addressed store, hash-verified

45
46
47async def test_start_stop(browser: Browser) -> None:
48 context = await browser.new_context()
49 await context.tracing.start()
50 await context.tracing.stop()
51 await context.close()
52
53
54async def test_browser_context_should_not_throw_when_stopping_without_start_but_not_exporting(

Callers

nothing calls this directly

Calls 4

new_contextMethod · 0.45
startMethod · 0.45
stopMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected