octopus.capture.manager

class octopus.capture.manager.CaptureManager(device, output_path, no_screen_record, no_network_capture, no_instrumentation, overwrite)[source]

Bases: object

start()[source]

Start all enabled capture components.

Iterates over each initialized capture component and calls start_capture(). Components that were disabled via no_* flags will be None and are safely skipped.

Parameters:

self – The CaptureManager instance.

Note

Does nothing if ready is False.

stop()[source]

Stop all enabled capture components and save results.

Stops each initialized capture component, collects their results into a dictionary, and writes the aggregated experiment data to experiment.json in the output directory.

Note

Does nothing if ready is False. Components that were disabled via no_* flags are safely skipped.