Packages
playwright
1.44.0-alpha.1
1.49.1-alpha.2
1.49.1-alpha.1
1.44.0-alpha.4
1.44.0-alpha.3
1.44.0-alpha.2
1.44.0-alpha.1
1.18.0-alpha.1
0.1.17-preview-7
0.1.17-preview-6
0.1.17-preview-5
0.1.17-preview-4
0.1.17-preview-3
0.1.17-preview-2
0.1.17-preview-1
0.1.16-preview-3
0.1.16-preview-2
0.1.16-preview-1
0.1.1-preview
0.1.0-preview
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/worker.ex
defmodule Playwright.Worker do
@moduledoc """
...
"""
use Playwright.SDK.ChannelOwner
# @spec evaluate(Worker.t(), function() | binary(), EvaluationArgument.t()) :: Serializable.t()
# def evaluate(worker, page_function, arg \\ nil)
# @spec evaluate_handle(Worker.t(), function() | binary(), EvaluationArgument.t()) :: JSHandle.t()
# def evaluate_handle(worker, page_function, arg \\ nil)
# @spec expect_event(t(), binary(), function(), options()) :: map()
# def expect_event(worker, event, predicate \\ nil, options \\ %{})
# ...delegate wait_for_event -> expect_event
# on(...):
# - close
# @spec on(t(), binary(), function()) :: nil
# def on(worker, event, callback)
# @spec url(Worker.t()) :: binary()
# def url(worker)
end