class Playwright::Tracing

def start_chunk(name: nil, title: nil)

```
context.tracing.stop_chunk(path = "trace2.zip")
# Save a second trace file with different actions.
page.goto("http://example.com")
context.tracing.start_chunk()

context.tracing.stop_chunk(path = "trace1.zip")
# Everything between start_chunk and stop_chunk will be recorded in the trace.
page.get_by_text("Get Started").click()
context.tracing.start_chunk()

page.goto("https://playwright.dev")
page = context.new_page()
context.tracing.start(screenshots=True, snapshots=True)
```python sync

**Usage**

Start a new trace chunk. If you'd like to record multiple traces on the same `BrowserContext`, use [`method: Tracing.start`] once, and then create multiple trace chunks with [`method: Tracing.startChunk`] and [`method: Tracing.stopChunk`].
def start_chunk(name: nil, title: nil)
  wrap_impl(@impl.start_chunk(name: unwrap_impl(name), title: unwrap_impl(title)))
end