Packages

Playwright is an Elixir library to automate Chromium, Firefox and WebKit browsers with a single API. Playwright delivers automation that is ever-green, capable, reliable and fast.

Current section

Files

Jump to
playwrightais lib playwright application.ex
Raw

lib/playwright/application.ex

defmodule Playwright.Application do
@moduledoc false
use Application
@impl Application
def start(_type, _args) do
children = [
Playwright.Channel.SessionID,
{DynamicSupervisor, strategy: :one_for_one, name: Playwright.Channel.Session.Supervisor}
]
options = [
name: Playwright.Supervisor,
strategy: :one_for_one
]
Supervisor.start_link(children, options)
end
end