View Source PhoenixTest.Playwright.BrowserContext (PhoenixTestPlaywright v0.1.2)

Interact with a Playwright BrowserContext.

There is no official documentation, since this is considered Playwright internal.

References:

Summary

Functions

Open a new browser page and return its guid.

Start tracing. The results can be retrieved via stop_tracing/2.

Stop tracing and write zip file to specified output path.

Functions

new_page(context_id)

Open a new browser page and return its guid.

start_tracing(context_id, opts \\ [])

Start tracing. The results can be retrieved via stop_tracing/2.

stop_tracing(context_id, output_path)

Stop tracing and write zip file to specified output path.

Trace can be viewed via either