Skip to content

Commit

Permalink
Update browser.ex w/ placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyti authored May 25, 2024
1 parent ce43ebb commit f727deb
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions lib/playwright/browser.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ defmodule Playwright.Browser do
# API
# ---------------------------------------------------------------------------

# @spec browser_type(t()) :: BrowserType.t()
# def browser_type(browser)

@doc """
Closes the browser.
Expand Down Expand Up @@ -90,8 +93,6 @@ defmodule Playwright.Browser do
Channel.list(browser.session, {:guid, browser.guid}, "BrowserContext")
end

# ---

# @spec is_connected(BrowserContext.t()) :: boolean()
# def is_connected(browser)

Expand Down Expand Up @@ -161,10 +162,6 @@ defmodule Playwright.Browser do

# ---

# test_browsertype_connect.py
# @spec on(t(), event(), function()) :: Browser.t()
# def on(browser, event, callback)

# test_chromium_tracing.py
# @spec start_tracing(t(), Page.t(), options()) :: :ok
# def start_tracing(browser, page \\ nil, options \\ %{})
Expand All @@ -173,8 +170,18 @@ defmodule Playwright.Browser do
# @spec stop_tracing(t()) :: binary()
# def stop_tracing(browser)

# @spec version(BrowserContext.t()) :: binary
# def version(browser)

# ---

# events
# ----------------------------------------------------------------------------

# test_browsertype_connect.py
# @spec on(t(), event(), function()) :: Browser.t()
# def on(browser, event, callback)

# private
# ----------------------------------------------------------------------------

Expand Down

0 comments on commit f727deb

Please sign in to comment.