Playwriter.Transport.Local (Playwriter v0.1.0)

Copy Markdown View Source

Local transport using playwright_ex's port-based communication.

This transport spawns a local Playwright Node.js driver and communicates via Erlang Ports through playwright_ex. Suitable for:

  • Headless automation
  • Headed automation on systems with display (Linux/macOS with GUI, Windows native)
  • CI/CD pipelines

Summary

Functions

Returns a specification to start this module under a supervisor.

Types

t()

@type t() :: %Playwriter.Transport.Local{
  browser_types: map(),
  status: :starting | :ready | :error,
  supervisor: pid() | nil
}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.