Packages
playwrightais
1.32.1-rc
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
Current section
Files
lib/playwright/api/browser.ex
defmodule Playwright.API.Browser do
@moduledoc """
`Playwright.API.Browser` is the upcoming replacement for `Playwright.Browser`.
Stay tuned.
"""
def close(browser) do
{:ok, Playwright.Browser.close(browser)}
end
def new_page(browser, options \\ %{}) do
{:ok, Playwright.Browser.new_page(browser, options)}
end
end